EtwActivity.WriteEvent(EventDescriptor, Object[]) Method

Definition

This is the main method that write the messages to the trace. All derived classes must use this method to write to the provider log.

protected:
 void WriteEvent(System::Diagnostics::Eventing::EventDescriptor ed, ... cli::array <System::Object ^> ^ payload);
protected void WriteEvent (System.Diagnostics.Eventing.EventDescriptor ed, params object[] payload);
member this.WriteEvent : System.Diagnostics.Eventing.EventDescriptor * obj[] -> unit
Protected Sub WriteEvent (ed As EventDescriptor, ParamArray payload As Object())

Parameters

ed
EventDescriptor

EventDescriptor

payload
Object[]

payload

Applies to