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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET