EventListener.OnEventWritten(EventWrittenEventArgs) 方法

定义

每次事件源写入事件时都执行调用,其中事件侦听器为事件源启用了事件。Called whenever an event has been written by an event source for which the event listener has enabled events.

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

描述该事件的事件自变量。The event arguments that describe the event.

适用于