ProviderMetadata クラス
定義
プロバイダーの名前と ID、プロバイダーで定義されているイベントのコレクションなど、イベント プロバイダーに関する静的な情報を格納します。Contains static information about an event provider, such as the name and id of the provider, and the collection of events defined in the provider.
public ref class ProviderMetadata : IDisposable
public class ProviderMetadata : IDisposable
type ProviderMetadata = class
interface IDisposable
Public Class ProviderMetadata
Implements IDisposable
- 継承
-
ProviderMetadata
- 実装
例
このクラスを使用したコード例については、「 方法: イベント発行者に関する情報を取得する」を参照してください。For example code using this class, see How to: Retrieve Information About an Event Publisher.
コンストラクター
ProviderMetadata(String) |
情報の取得対象となるプロバイダーの名前を指定して、ProviderMetadata クラスの新しいインスタンスを初期化します。Initializes a new instance of the ProviderMetadata class by specifying the name of the provider that you want to retrieve information about. |
ProviderMetadata(String, EventLogSession, CultureInfo) |
情報の取得対象となるプロバイダーの名前、プロバイダーが登録されているイベント ログ サービス、および情報を返す際の言語を指定して、ProviderMetadata クラスの新しいインスタンスを初期化します。Initializes a new instance of the ProviderMetadata class by specifying the name of the provider that you want to retrieve information about, the event log service that the provider is registered with, and the language that you want to return the information in. |
プロパティ
DisplayName |
イベント プロバイダーのローカライズされた名前を取得します。Gets the localized name of the event provider. |
Events |
EventMetadata オブジェクトの列挙可能なコレクションを取得します。各オブジェクトは、プロバイダーで定義されているイベントを表します。Gets an enumerable collection of EventMetadata objects, each of which represents an event that is defined in the provider. |
HelpLink |
このイベント プロバイダーのイベントに対するヘルプ要求を作成するために使用する URL のベースを取得します。Gets the base of the URL used to form help requests for the events in this event provider. |
Id |
イベント プロバイダーのグローバル一意識別子 (GUID: Globally Unique Identifier) を取得します。Gets the globally unique identifier (GUID) for the event provider. |
Keywords |
EventKeyword オブジェクトの列挙可能なコレクションを取得します。各オブジェクトは、イベント プロバイダーで定義されているイベント キーワードを表します。Gets an enumerable collection of EventKeyword objects, each of which represent an event keyword that is defined in the event provider. |
Levels |
EventLevel オブジェクトの列挙可能なコレクションを取得します。各オブジェクトは、イベント プロバイダーで定義されているレベルを表します。Gets an enumerable collection of EventLevel objects, each of which represent a level that is defined in the event provider. |
LogLinks |
EventLogLink オブジェクトの列挙可能なコレクションを取得します。各オブジェクトは、イベント プロバイダーで使用されているイベント ログへのリンクを表します。Gets an enumerable collection of EventLogLink objects, each of which represent a link to an event log that is used by the event provider. |
MessageFilePath |
プロバイダーのメタデータに関連付けられている文字列を含むメッセージ テーブル リソースが格納されたファイルのパスを取得します。Gets the path of the file that contains the message table resource that has the strings associated with the provider metadata. |
Name |
イベント プロバイダーの一意の名前を取得します。Gets the unique name of the event provider. |
Opcodes |
EventOpcode オブジェクトの列挙可能なコレクションを取得します。各オブジェクトは、イベント プロバイダーで定義されているオペコードを表します。Gets an enumerable collection of EventOpcode objects, each of which represent an opcode that is defined in the event provider. |
ParameterFilePath |
イベントの説明にあるパラメーターの代用に使用される文字列を含むメッセージ テーブル リソースが格納されたファイルのパスを取得します。Gets the path of the file that contains the message table resource that has the strings used for parameter substitutions in event descriptions. |
ResourceFilePath |
プロバイダーに関連付けられているメタデータを格納するファイルのパスを取得します。Gets the path to the file that contains the metadata associated with the provider. |
Tasks |
EventTask オブジェクトの列挙可能なコレクションを取得します。各オブジェクトは、イベント プロバイダーで定義されているタスクを表します。Gets an enumerable collection of EventTask objects, each of which represent a task that is defined in the event provider. |
メソッド
Dispose() |
このオブジェクトに使用されているすべてのリソースを解放します。Releases all the resources used by this object. |
Dispose(Boolean) |
このオブジェクトに使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。Releases the unmanaged resources used by this object, and optionally releases the managed resources. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object. (継承元 Object) |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
ToString() |
現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object. (継承元 Object) |