Export (0) Print
Expand All

EventSource::GetName Method

.NET Framework 4.5

Gets the friendly name of the event source.

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

public:
static String^ GetName(
	Type^ eventSourceType
)

Parameters

eventSourceType
Type: System::Type

The type of the event source.

Return Value

Type: System::String
The friendly name of the event source. The default is the simple name of the class.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft