EventSource.GetGuid Method (Type)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the unique identifier for this implementation of the event source.

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

public static Guid GetGuid(
	Type eventSourceType
)

Parameters

eventSourceType
Type: System.Type

The type of the event source.

Return Value

Type: System.Guid

A unique identifier for this event source type.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: