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