EventSource.GetSources Method
Definition
Important
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)
Returns
An enumeration of all the event sources in the application domain.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.