Edit

Share via


EventSource.GetSources Method

Definition

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

public:
 static System::Collections::Generic::IEnumerable<System::Diagnostics::Tracing::EventSource ^> ^ GetSources();
public static System.Collections.Generic.IEnumerable<System.Diagnostics.Tracing.EventSource> GetSources ();
static member GetSources : unit -> seq<System.Diagnostics.Tracing.EventSource>
Public Shared Function GetSources () As IEnumerable(Of EventSource)

Returns

An enumeration of all the event sources in the application domain.

Applies to