EventListener::EventSourceCreated Event

 

Occurs when an event source (EventSource object) is attached to the dispatcher.

Namespace:   System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

public:
event EventHandler<EventSourceCreatedEventArgs^>^ EventSourceCreated {
	void add(EventHandler<EventSourceCreatedEventArgs^>^ value);
	void remove(EventHandler<EventSourceCreatedEventArgs^>^ value);
}

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.

.NET Framework
Available since 4.6.2
Return to top
Show: