EventSource.GetName(Type) Metod

Definition

Hämtar det egna namnet på händelsekällan.

public:
 static System::String ^ GetName(Type ^ eventSourceType);
public static string GetName(Type eventSourceType);
static member GetName : Type -> string
Public Shared Function GetName (eventSourceType As Type) As String

Parametrar

eventSourceType
Type

Typ av händelsekälla.

Returer

Händelsekällans eget namn. Standardvärdet är det enkla namnet på klassen.

Gäller för