EventListener.EventSourceCreated EventListener.EventSourceCreated EventListener.EventSourceCreated EventListener.EventSourceCreated Event

定義

發生於將事件來源 (EventSource 物件) 附加至發送器時。Occurs when an event source (EventSource object) is attached to the dispatcher.

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) 

備註

EventSourceCreated ,就會發生的所有現有的事件來源的事件接聽程式建立時,以及與事件接聽程式的建立之後,會建立任何事件來源。The EventSourceCreated occurs for all existing event sources when the event listener is created, as well as for any event sources that are created after the event listener's creation.

適用於