EventListener.OnEventWritten(EventWrittenEventArgs) EventListener.OnEventWritten(EventWrittenEventArgs) EventListener.OnEventWritten(EventWrittenEventArgs) EventListener.OnEventWritten(EventWrittenEventArgs) Method

定義

每當事件由事件接聽程式已啟用事件的事件來源寫入時呼叫。Called whenever an event has been written by an event source for which the event listener has enabled events.

protected public:
 virtual void OnEventWritten(System::Diagnostics::Tracing::EventWrittenEventArgs ^ eventData);
protected internal virtual void OnEventWritten (System.Diagnostics.Tracing.EventWrittenEventArgs eventData);
abstract member OnEventWritten : System.Diagnostics.Tracing.EventWrittenEventArgs -> unit
override this.OnEventWritten : System.Diagnostics.Tracing.EventWrittenEventArgs -> unit
Protected Friend Overridable Sub OnEventWritten (eventData As EventWrittenEventArgs)

參數

eventData
EventWrittenEventArgs EventWrittenEventArgs EventWrittenEventArgs EventWrittenEventArgs

描述這個事件的事件引數。The event arguments that describe the event.

適用於