Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EventSource.GetGuid Method

.NET Framework 4.6 and 4.5

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

Namespace:  System.Diagnostics.Tracing
Assemblies:   mscorlib (in mscorlib.dll)
  System.Diagnostics.Tracing (in System.Diagnostics.Tracing.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.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft