EventMappingSettingsCollection クラス
アセンブリ: System.Web (system.web.dll 内)
構文
解説EventMappingSettings クラスは、eventMappings 構成ファイル要素に対応します。eventMappings 要素を使用して、イベント ソースにフレンドリ名を割り当てることができます。これらの名前は、構成ファイルの healthMonitoring セクションの rules サブセクションで、プロバイダと呼ばれる関連イベント コンシューマにイベント ソースを関連付けるのに使用されます。
使用例EventMappingSettingsCollection 型を使用する方法を次のコード例に示します。このコード例は、HealthMonitoringSection クラスのトピックで取り上げているコード例の一部分です。
' Add a EventMappingsSettings object to the EventMappings collection property. Dim eventMappingSetting As EventMappingSettings = New EventMappingSettings( _ "Failure Audits", "System.Web.Management.WebAuditEvent, System.Web") eventMappingSetting.Name = "All Errors" eventMappingSetting.Type = _ "System.Web.Management.WebErrorEvent, System.Web" eventMappingSetting.StartEventCode = 0 eventMappingSetting.EndEventCode = 4096 healthMonitoringSection.EventMappings.Add(eventMappingSetting) ' Add an EventMappingsSettings object to the EventMappings collection property. healthMonitoringSection.EventMappings.Add(new EventMappingSettings( _ "Failure Audits", "System.Web.Management.WebAuditEvent, System.Web")) ' Add an EventMappingsSettings object to the EventMappings collection property. healthMonitoringSection.EventMappings.Add(new EventMappingSettings( _ "Success Audits", "System.Web.Management.WebAuditEvent, System.Web", _ 512, Int32.MaxValue)) ' Insert an EventMappingsSettings object into the EventMappings collection property. healthMonitoringSection.EventMappings.Insert(1, _ new EventMappingSettings("HeartBeats", "", 1, 2)) ' Display contents of the EventMappings collection property Console.WriteLine( _ "EventMappings Collection contains {0} values:", healthMonitoringSection.EventMappings.Count) ' Display all elements. For i As System.Int32 = 0 To healthMonitoringSection.EventMappings.Count - 1 eventMappingSetting = healthMonitoringSection.EventMappings(i) Dim name As String = eventMappingSetting.Name Dim type As String = eventMappingSetting.Type Dim startCd As Integer = eventMappingSetting.StartEventCode Dim endCd As Integer = eventMappingSetting.EndEventCode Dim item As String = "Name='" & name & "', Type='" & type & _ "', StartEventCode = '" & startCd.ToString() & _ "', EndEventCode = '" & endCd.ToString() & "'" Console.WriteLine(" Item {0}: {1}", i, item) Next ' See if the EventMappings collection property contains the event 'HeartBeats'. Console.WriteLine("EventMappings contains 'HeartBeats': {0}.", _ healthMonitoringSection.EventMappings.Contains("HeartBeats")) ' Get the index of the 'HeartBeats' event in the EventMappings collection property. Console.WriteLine("EventMappings index for 'HeartBeats': {0}.", _ healthMonitoringSection.EventMappings.IndexOf("HeartBeats")) ' Get a named EventMappings eventMappingSetting = healthMonitoringSection.EventMappings("HeartBeats") ' Remove an EventMappingsSettings object from the EventMappings collection property. healthMonitoringSection.EventMappings.Remove("HeartBeats") ' Remove an EventMappingsSettings object from the EventMappings collection property. healthMonitoringSection.EventMappings.RemoveAt(0) ' Clear all EventMappingsSettings object from the EventMappings collection property. healthMonitoringSection.EventMappings.Clear()
// Add a EventMappingsSettings object to the EventMappings collection property. EventMappingSettings eventMappingSetting = new EventMappingSettings( "Failure Audits", "System.Web.Management.WebAuditEvent, System.Web"); eventMappingSetting.Name = "All Errors"; eventMappingSetting.Type = "System.Web.Management.WebErrorEvent, System.Web"; eventMappingSetting.StartEventCode = 0; eventMappingSetting.EndEventCode = 4096; healthMonitoringSection.EventMappings.Add(eventMappingSetting); // Add an EventMappingsSettings object to the EventMappings collection property. healthMonitoringSection.EventMappings.Add(new EventMappingSettings( "Failure Audits", "System.Web.Management.WebAuditEvent, System.Web")); // Add an EventMappingsSettings object to the EventMappings collection property. healthMonitoringSection.EventMappings.Add(new EventMappingSettings( "Success Audits", "System.Web.Management.WebAuditEvent, System.Web" , 512, Int32.MaxValue)); // Insert an EventMappingsSettings object into the EventMappings collection property. healthMonitoringSection.EventMappings.Insert(1, new EventMappingSettings("HeartBeats", "", 1, 2)); // Display contents of the EventMappings collection property Console.WriteLine( "EventMappings Collection contains {0} values:", healthMonitoringSection.EventMappings.Count); // Display all elements. for (System.Int32 i = 0; i < healthMonitoringSection.EventMappings.Count; i++) { eventMappingSetting = healthMonitoringSection.EventMappings[i]; string name = eventMappingSetting.Name; string type = eventMappingSetting.Type; int startCd = eventMappingSetting.StartEventCode; int endCd = eventMappingSetting.EndEventCode; string item = "Name='" + name + "', Type='" + type + "', StartEventCode = '" + startCd.ToString() + "', EndEventCode = '" + endCd.ToString() + "'"; Console.WriteLine(" Item {0}: {1}", i, item); } // See if the EventMappings collection property contains the event 'HeartBeats'. Console.WriteLine("EventMappings contains 'HeartBeats': {0}.", healthMonitoringSection.EventMappings.Contains("HeartBeats")); // Get the index of the 'HeartBeats' event in the EventMappings collection property. Console.WriteLine("EventMappings index for 'HeartBeats': {0}.", healthMonitoringSection.EventMappings.IndexOf("HeartBeats")); // Get a named EventMappings eventMappingSetting = healthMonitoringSection.EventMappings["HeartBeats"]; // Remove an EventMappingsSettings object from the EventMappings collection property. healthMonitoringSection.EventMappings.Remove("HeartBeats"); // Remove an EventMappingsSettings object from the EventMappings collection property. healthMonitoringSection.EventMappings.RemoveAt(0); // Clear all EventMappingsSettings object from the EventMappings collection property. healthMonitoringSection.EventMappings.Clear();
継承階層System.Configuration.ConfigurationElement
System.Configuration.ConfigurationElementCollection
System.Web.Configuration.EventMappingSettingsCollection
スレッド セーフ
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照EventMappingSettingsCollection コンストラクタ
アセンブリ: System.Web (system.web.dll 内)
構文
解説HealthMonitoringSection クラスの EventMappings プロパティは、常に EventMappingSettingsCollection のインスタンスを格納します。このクラスのインスタンスを独自に作成するのではなく、このインスタンスを使用します。
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照EventMappingSettingsCollection プロパティ
パブリック プロパティ| 名前 | 説明 | |
|---|---|---|
| CollectionType | ConfigurationElementCollection の型を取得します。 ( ConfigurationElementCollection から継承されます。) |
| Count | コレクション内の要素の数を取得します。 ( ConfigurationElementCollection から継承されます。) |
| ElementInformation | ConfigurationElement オブジェクトのカスタマイズできない情報と機能を格納する ElementInformation オブジェクトを取得します。 ( ConfigurationElement から継承されます。) |
| EmitClear | コレクションが削除されているかどうかを指定します。 ( ConfigurationElementCollection から継承されます。) |
| IsSynchronized | コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| Item | オーバーロードされます。 指定した EventMappingSettings オブジェクトを取得または設定します。 |
| LockAllAttributesExcept | ロックされている属性のコレクションを取得します。 ( ConfigurationElement から継承されます。) |
| LockAllElementsExcept | ロックされている要素のコレクションを取得します。 ( ConfigurationElement から継承されます。) |
| LockAttributes | ロックされている属性のコレクションを取得します。 ( ConfigurationElement から継承されます。) |
| LockElements | ロックされている要素のコレクションを取得します。 ( ConfigurationElement から継承されます。) |
| LockItem | 要素がロックされているかどうかを示す値を取得または設定します。 ( ConfigurationElement から継承されます。) |
| SyncRoot | ConfigurationElementCollection へのアクセスを同期するために使用するオブジェクトを取得します。 ( ConfigurationElementCollection から継承されます。) |
プロテクト プロパティ| 名前 | 説明 | |
|---|---|---|
| AddElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での追加操作に関連付ける ConfigurationElement の名前を取得または設定します。 ( ConfigurationElementCollection から継承されます。) |
| ClearElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での消去操作に関連付ける ConfigurationElement の名前を取得または設定します。 ( ConfigurationElementCollection から継承されます。) |
| ElementName | 派生クラスでオーバーライドされると、構成ファイル内のこの要素のコレクションを識別するために使用する名前を取得します。 ( ConfigurationElementCollection から継承されます。) |
| ElementProperty | ConfigurationElement オブジェクト自体を表す ConfigurationElementProperty オブジェクトを取得します。 ( ConfigurationElement から継承されます。) |
| EvaluationContext | ConfigurationElement オブジェクトの ContextInformation オブジェクトを取得します。 ( ConfigurationElement から継承されます。) |
| Item | オーバーロードされます。 指定した EventMappingSettings オブジェクトを取得または設定します。 |
| Properties | プロパティのコレクションを取得します。 ( ConfigurationElement から継承されます。) |
| RemoveElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での削除操作に関連付ける ConfigurationElement の名前を取得または設定します。 ( ConfigurationElementCollection から継承されます。) |
| ThrowOnDuplicate | 重複する ConfigurationElement を ConfigurationElementCollection に追加しようとしたときに、例外をスローするかどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
参照EventMappingSettingsCollection メソッド
パブリック メソッド| 名前 | 説明 | |
|---|---|---|
| Add | EventMappingSettings オブジェクトをコレクションに追加します。 |
| Clear | コレクションからすべての EventMappingSettings オブジェクトを削除します。 |
| Contains | 指定した名前の EventMappingSettings オブジェクトがコレクション内に存在するかどうかを示します。 |
| CopyTo | ConfigurationElementCollection の内容を配列にコピーします。 ( ConfigurationElementCollection から継承されます。) |
| Equals | オーバーロードされます。 ConfigurationElementCollection と指定したオブジェクトを比較します。 ( ConfigurationElementCollection から継承されます。) |
| GetEnumerator | ConfigurationElementCollection の反復処理に使用する IEnumerator を取得します。 ( ConfigurationElementCollection から継承されます。) |
| GetHashCode | ConfigurationElementCollection インスタンスを表す一意の値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
| IndexOf | 指定した EventMappingSettings オブジェクトのインデックスを返します。 |
| Insert | 指定した EventMappingSettings オブジェクトを、コレクションの指定したインデックス位置に追加します。 |
| IsReadOnly | ConfigurationElementCollection オブジェクトが読み取り専用かどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
| Remove | EventMappingSettings オブジェクトをコレクションから削除します。 |
| RemoveAt | EventMappingSettings オブジェクトをコレクションから削除します。 |
| ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |
プロテクト メソッド| 名前 | 説明 | |
|---|---|---|
| BaseAdd | オーバーロードされます。 派生クラスでオーバーライドされると、ConfigurationElement を ConfigurationElementCollection インスタンスに追加します。 ( ConfigurationElementCollection から継承されます。) |
| BaseClear | コレクションからすべての構成要素オブジェクトを削除します。 ( ConfigurationElementCollection から継承されます。) |
| BaseGet | オーバーロードされます。 指定したインデックス位置にある ConfigurationElement を取得します。 ( ConfigurationElementCollection から継承されます。) |
| BaseGetAllKeys | ConfigurationElementCollection に格納されているすべての構成要素のキーの配列を返します。 ( ConfigurationElementCollection から継承されます。) |
| BaseGetKey | 指定したインデックス位置にある ConfigurationElement のキーを取得します。 ( ConfigurationElementCollection から継承されます。) |
| BaseIndexOf | 指定した ConfigurationElement のインデックス。 ( ConfigurationElementCollection から継承されます。) |
| BaseIsRemoved | 指定したキーを持つ ConfigurationElement が ConfigurationElementCollection から削除されているかどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| BaseRemove | ConfigurationElement をコレクションから削除します。 ( ConfigurationElementCollection から継承されます。) |
| BaseRemoveAt | 指定したインデックス位置にある ConfigurationElement を削除します。 ( ConfigurationElementCollection から継承されます。) |
| CreateNewElement | オーバーロードされます。 派生クラスでオーバーライドされると、新しい ConfigurationElement を作成します。 ( ConfigurationElementCollection から継承されます。) |
| DeserializeElement | 構成ファイルから XML を読み取ります。 ( ConfigurationElement から継承されます。) |
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
| GetElementKey | 派生クラスでオーバーライドされると、指定した構成要素の要素キーを取得します。 ( ConfigurationElementCollection から継承されます。) |
| Init | ConfigurationElement オブジェクトを初期状態に設定します。 ( ConfigurationElement から継承されます。) |
| InitializeDefault | ConfigurationElement オブジェクトの既定の値セットを初期化するために使用します。 ( ConfigurationElement から継承されます。) |
| IsElementName | 指定した ConfigurationElement が ConfigurationElementCollection に存在するかどうかを示します。 ( ConfigurationElementCollection から継承されます。) |
| IsElementRemovable | 指定した ConfigurationElement を ConfigurationElementCollection から削除できるかどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| IsModified | 派生クラスでオーバーライドされると、この ConfigurationElementCollection が最後に保存された後または読み込まれた後に、変更されているかどうかを示します。 ( ConfigurationElementCollection から継承されます。) |
| ListErrors | この ConfigurationElement オブジェクトおよびすべてのサブ要素の無効なプロパティのエラーを、渡されたリストに追加します。 ( ConfigurationElement から継承されます。) |
| MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |
| OnDeserializeUnrecognizedAttribute | 逆シリカル化中に不明な属性が発生したかどうかを示す値を取得します。 ( ConfigurationElement から継承されます。) |
| OnDeserializeUnrecognizedElement | 構成システムが例外をスローするようにします。 ( ConfigurationElementCollection から継承されます。) |
| OnRequiredPropertyNotFound | 必須プロパティが見つからなかったかどうかを示す値を取得します。 ( ConfigurationElement から継承されます。) |
| PostDeserialize | 逆シリアル化後に呼び出されます。 ( ConfigurationElement から継承されます。) |
| PreSerialize | シリアル化前に呼び出されます。 ( ConfigurationElement から継承されます。) |
| Reset | 派生クラスでオーバーライドされると、ConfigurationElementCollection を変更されていない状態にリセットします。 ( ConfigurationElementCollection から継承されます。) |
| ResetModified | 派生クラスでオーバーライドされると、IsModified プロパティの値を false にリセットします。 ( ConfigurationElementCollection から継承されます。) |
| SerializeElement | 派生クラスでオーバーライドされると、構成データを構成ファイルの XML 要素に書き込みます。 ( ConfigurationElementCollection から継承されます。) |
| SerializeToXmlElement | 派生クラスに実装されている場合、この構成要素の外側のタグを構成ファイルに書き込みます。 ( ConfigurationElement から継承されます。) |
| SetPropertyValue | プロパティを指定した値に設定します。 ( ConfigurationElement から継承されます。) |
| SetReadOnly | ConfigurationElementCollection オブジェクトとすべてのサブ要素の IsReadOnly プロパティを設定します。 ( ConfigurationElementCollection から継承されます。) |
| Unmerge | 構成階層の異なるレベルの構成情報をマージした効果を反転させます。 ( ConfigurationElementCollection から継承されます。) |
参照EventMappingSettingsCollection メンバ
EventMappingSettings オブジェクトのコレクションを提供します。このクラスは継承できません。
EventMappingSettingsCollection データ型で公開されるメンバを以下の表に示します。
パブリック コンストラクタ
パブリック プロパティ| 名前 | 説明 | |
|---|---|---|
| CollectionType | ConfigurationElementCollection の型を取得します。(ConfigurationElementCollection から継承されます。) |
| Count | コレクション内の要素の数を取得します。(ConfigurationElementCollection から継承されます。) |
| ElementInformation | ConfigurationElement オブジェクトのカスタマイズできない情報と機能を格納する ElementInformation オブジェクトを取得します。 (ConfigurationElement から継承されます。) |
| EmitClear | コレクションが削除されているかどうかを指定します。(ConfigurationElementCollection から継承されます。) |
| IsSynchronized | コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。(ConfigurationElementCollection から継承されます。) |
| Item | オーバーロードされます。 指定した EventMappingSettings オブジェクトを取得または設定します。 |
| LockAllAttributesExcept | ロックされている属性のコレクションを取得します。(ConfigurationElement から継承されます。) |
| LockAllElementsExcept | ロックされている要素のコレクションを取得します。(ConfigurationElement から継承されます。) |
| LockAttributes | ロックされている属性のコレクションを取得します。 (ConfigurationElement から継承されます。) |
| LockElements | ロックされている要素のコレクションを取得します。(ConfigurationElement から継承されます。) |
| LockItem | 要素がロックされているかどうかを示す値を取得または設定します。(ConfigurationElement から継承されます。) |
| SyncRoot | ConfigurationElementCollection へのアクセスを同期するために使用するオブジェクトを取得します。(ConfigurationElementCollection から継承されます。) |
プロテクト プロパティ| 名前 | 説明 | |
|---|---|---|
| AddElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での追加操作に関連付ける ConfigurationElement の名前を取得または設定します。 (ConfigurationElementCollection から継承されます。) |
| ClearElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での消去操作に関連付ける ConfigurationElement の名前を取得または設定します。 (ConfigurationElementCollection から継承されます。) |
| ElementName | 派生クラスでオーバーライドされると、構成ファイル内のこの要素のコレクションを識別するために使用する名前を取得します。(ConfigurationElementCollection から継承されます。) |
| ElementProperty | ConfigurationElement オブジェクト自体を表す ConfigurationElementProperty オブジェクトを取得します。(ConfigurationElement から継承されます。) |
| EvaluationContext | ConfigurationElement オブジェクトの ContextInformation オブジェクトを取得します。(ConfigurationElement から継承されます。) |
| Item | オーバーロードされます。 指定した EventMappingSettings オブジェクトを取得または設定します。 |
| Properties | プロパティのコレクションを取得します。(ConfigurationElement から継承されます。) |
| RemoveElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での削除操作に関連付ける ConfigurationElement の名前を取得または設定します。 (ConfigurationElementCollection から継承されます。) |
| ThrowOnDuplicate | 重複する ConfigurationElement を ConfigurationElementCollection に追加しようとしたときに、例外をスローするかどうかを示す値を取得します。(ConfigurationElementCollection から継承されます。) |
パブリック メソッド| 名前 | 説明 | |
|---|---|---|
| Add | EventMappingSettings オブジェクトをコレクションに追加します。 |
| Clear | コレクションからすべての EventMappingSettings オブジェクトを削除します。 |
| Contains | 指定した名前の EventMappingSettings オブジェクトがコレクション内に存在するかどうかを示します。 |
| CopyTo | ConfigurationElementCollection の内容を配列にコピーします。 (ConfigurationElementCollection から継承されます。) |
| Equals | オーバーロードされます。 ConfigurationElementCollection と指定したオブジェクトを比較します。 (ConfigurationElementCollection から継承されます。) |
| GetEnumerator | ConfigurationElementCollection の反復処理に使用する IEnumerator を取得します。 (ConfigurationElementCollection から継承されます。) |
| GetHashCode | ConfigurationElementCollection インスタンスを表す一意の値を取得します。 (ConfigurationElementCollection から継承されます。) |
| GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
| IndexOf | 指定した EventMappingSettings オブジェクトのインデックスを返します。 |
| Insert | 指定した EventMappingSettings オブジェクトを、コレクションの指定したインデックス位置に追加します。 |
| IsReadOnly | ConfigurationElementCollection オブジェクトが読み取り専用かどうかを示す値を取得します。 (ConfigurationElementCollection から継承されます。) |
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
| Remove | EventMappingSettings オブジェクトをコレクションから削除します。 |
| RemoveAt | EventMappingSettings オブジェクトをコレクションから削除します。 |
| ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |
プロテクト メソッド| 名前 | 説明 | |
|---|---|---|
| BaseAdd | オーバーロードされます。 派生クラスでオーバーライドされると、ConfigurationElement を ConfigurationElementCollection インスタンスに追加します。 (ConfigurationElementCollection から継承されます。) |
| BaseClear | コレクションからすべての構成要素オブジェクトを削除します。 (ConfigurationElementCollection から継承されます。) |
| BaseGet | オーバーロードされます。 指定したインデックス位置にある ConfigurationElement を取得します。 (ConfigurationElementCollection から継承されます。) |
| BaseGetAllKeys | ConfigurationElementCollection に格納されているすべての構成要素のキーの配列を返します。 (ConfigurationElementCollection から継承されます。) |
| BaseGetKey | 指定したインデックス位置にある ConfigurationElement のキーを取得します。 (ConfigurationElementCollection から継承されます。) |
| BaseIndexOf | 指定した ConfigurationElement のインデックス。 (ConfigurationElementCollection から継承されます。) |
| BaseIsRemoved | 指定したキーを持つ ConfigurationElement が ConfigurationElementCollection から削除されているかどうかを示す値を取得します。 (ConfigurationElementCollection から継承されます。) |
| BaseRemove | ConfigurationElement をコレクションから削除します。 (ConfigurationElementCollection から継承されます。) |
| BaseRemoveAt | 指定したインデックス位置にある ConfigurationElement を削除します。 (ConfigurationElementCollection から継承されます。) |
| CreateNewElement | オーバーロードされます。 派生クラスでオーバーライドされると、新しい ConfigurationElement を作成します。 (ConfigurationElementCollection から継承されます。) |
| DeserializeElement | 構成ファイルから XML を読み取ります。 (ConfigurationElement から継承されます。) |
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
| GetElementKey | 派生クラスでオーバーライドされると、指定した構成要素の要素キーを取得します。 (ConfigurationElementCollection から継承されます。) |
| Init | ConfigurationElement オブジェクトを初期状態に設定します。 (ConfigurationElement から継承されます。) |
| InitializeDefault | ConfigurationElement オブジェクトの既定の値セットを初期化するために使用します。 (ConfigurationElement から継承されます。) |
| IsElementName | 指定した ConfigurationElement が ConfigurationElementCollection に存在するかどうかを示します。 (ConfigurationElementCollection から継承されます。) |
| IsElementRemovable | 指定した ConfigurationElement を ConfigurationElementCollection から削除できるかどうかを示す値を取得します。 (ConfigurationElementCollection から継承されます。) |
| IsModified | 派生クラスでオーバーライドされると、この ConfigurationElementCollection が最後に保存された後または読み込まれた後に、変更されているかどうかを示します。 (ConfigurationElementCollection から継承されます。) |
| ListErrors | この ConfigurationElement オブジェクトおよびすべてのサブ要素の無効なプロパティのエラーを、渡されたリストに追加します。 (ConfigurationElement から継承されます。) |
| MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
| OnDeserializeUnrecognizedAttribute | 逆シリカル化中に不明な属性が発生したかどうかを示す値を取得します。 (ConfigurationElement から継承されます。) |
| OnDeserializeUnrecognizedElement | 構成システムが例外をスローするようにします。 (ConfigurationElementCollection から継承されます。) |
| OnRequiredPropertyNotFound | 必須プロパティが見つからなかったかどうかを示す値を取得します。 (ConfigurationElement から継承されます。) |
| PostDeserialize | 逆シリアル化後に呼び出されます。 (ConfigurationElement から継承されます。) |
| PreSerialize | シリアル化前に呼び出されます。 (ConfigurationElement から継承されます。) |
| Reset | 派生クラスでオーバーライドされると、ConfigurationElementCollection を変更されていない状態にリセットします。 (ConfigurationElementCollection から継承されます。) |
| ResetModified | 派生クラスでオーバーライドされると、IsModified プロパティの値を false にリセットします。 (ConfigurationElementCollection から継承されます。) |
| SerializeElement | 派生クラスでオーバーライドされると、構成データを構成ファイルの XML 要素に書き込みます。 (ConfigurationElementCollection から継承されます。) |
| SerializeToXmlElement | 派生クラスに実装されている場合、この構成要素の外側のタグを構成ファイルに書き込みます。 (ConfigurationElement から継承されます。) |
| SetPropertyValue | プロパティを指定した値に設定します。 (ConfigurationElement から継承されます。) |
| SetReadOnly | ConfigurationElementCollection オブジェクトとすべてのサブ要素の IsReadOnly プロパティを設定します。 (ConfigurationElementCollection から継承されます。) |
| Unmerge | 構成階層の異なるレベルの構成情報をマージした効果を反転させます。 (ConfigurationElementCollection から継承されます。) |
参照- EventMappingSettingsCollectionのページへのリンク