Rediger

Del via


EventListener.EventSourceCreated Event

Definition

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;
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) 

Event Type

Remarks

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.

Applies to