EventSource.GetName(Type) 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 the friendly name of the event source.
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
Parameters
- eventSourceType
- Type
The type of the event source.
Returns
The friendly name of the event source. The default is the simple name of the class.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.