EventListener.EventSourceCreated 事件

定义

当事件源(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创建事件侦听器时,所有现有事件源以及创建事件侦听器后创建的任何事件源都会发生 。

适用于