EventSource.GetSources Method

.NET Framework 4.5

Gets a snapshot of all the event sources for the application domain.

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

public static IEnumerable<EventSource> GetSources()

Return Value

Type: System.Collections.Generic.IEnumerable<EventSource>
An enumeration of all the event sources in the application domain.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft