共用方式為


EventListener.OnEventWritten(EventWrittenEventArgs) 方法

定義

每當事件由事件接聽程式已啟用事件的事件來源寫入時呼叫。

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

參數

eventData
EventWrittenEventArgs

描述這個事件的事件引數。

適用於