EventListener.OnEventWritten(EventWrittenEventArgs) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
每次事件源写入事件时都执行调用,其中事件侦听器为事件源启用了事件。
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
描述该事件的事件自变量。