EtwActivity.WriteEvent(EventDescriptor, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
EventDescriptor
- payload
- Object[]
payload