共用方式為


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建立事件接聽程式時,以及事件接聽程式建立之後所建立的任何事件來源,都會發生 。

適用於