Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft