EventListener.EventSourceCreated 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当事件源(EventSource 对象)附加到调度程序时发生。
public:
event EventHandler<System::Diagnostics::Tracing::EventSourceCreatedEventArgs ^> ^ EventSourceCreated;
public event EventHandler<System.Diagnostics.Tracing.EventSourceCreatedEventArgs>? EventSourceCreated;
public event EventHandler<System.Diagnostics.Tracing.EventSourceCreatedEventArgs> EventSourceCreated;
member this.EventSourceCreated : EventHandler<System.Diagnostics.Tracing.EventSourceCreatedEventArgs>
Public Custom Event EventSourceCreated As EventHandler(Of EventSourceCreatedEventArgs)
Public Event EventSourceCreated As EventHandler(Of EventSourceCreatedEventArgs)
事件类型
注解
EventSourceCreated创建事件侦听器时,所有现有事件源以及创建事件侦听器后创建的任何事件源都会发生 。