Source. Get Sources Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
An enumeration of all the event sources in the application domain.