RuleSettings.EventName プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この規則が適用される EventMappingSettings オブジェクトの名前を取得または設定します。
public:
property System::String ^ EventName { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("eventName", DefaultValue="", IsRequired=true)]
public string EventName { get; set; }
[<System.Configuration.ConfigurationProperty("eventName", DefaultValue="", IsRequired=true)>]
member this.EventName : string with get, set
Public Property EventName As String
プロパティ値
この規則が適用される EventMappingSettings オブジェクトの名前。
- 属性
例
次のコード例は、 EventName プロパティの使用方法を示しています。 このコード例は、 HealthMonitoringSection クラスに提供されるより大きな例の一部です。
ruleSetting.EventName = "All Errors";
ruleSetting.EventName = "All Errors"
注釈
このプロパティによって参照される EventMappingSettings オブジェクトは、このプロパティを含む同じ HealthMonitoringSection オブジェクトに含まれている必要があります RuleSettings
オブジェクト。