EventMappingSettings コンストラクタ (String, String)
アセンブリ: System.Web (system.web.dll 内)



EventMappingSettings コンストラクタを使用するコード例を次に示します。このコード例は、HealthMonitoringSection クラスのトピックで取り上げているコード例の一部分です。
' 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( "Failure Audits", "System.Web.Management.WebAuditEvent, System.Web"));

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EventMappingSettings コンストラクタ (String, String, Int32, Int32)
アセンブリ: System.Web (system.web.dll 内)

Public Sub New ( _ name As String, _ type As String, _ startEventCode As Integer, _ endEventCode As Integer _ )
Dim name As String Dim type As String Dim startEventCode As Integer Dim endEventCode As Integer Dim instance As New EventMappingSettings(name, type, startEventCode, endEventCode)
public function EventMappingSettings ( name : String, type : String, startEventCode : int, endEventCode : int )

EventMappingSettings コンストラクタを使用するコード例を次に示します。このコード例は、HealthMonitoringSection クラスのトピックで取り上げているコード例の一部分です。
' 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))
// 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));

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EventMappingSettings コンストラクタ

名前 | 説明 |
---|---|
EventMappingSettings (String, String) | 名前と型を指定して、EventMappingSettings クラスの新しいインスタンスを初期化します。 |
EventMappingSettings (String, String, Int32, Int32) | 指定した値を使用して、BufferModeSettings クラスの新しいインスタンスを初期化します。 |

- EventMappingSettings コンストラクタのページへのリンク