EventMappingSettings コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > EventMappingSettings コンストラクタの意味・解説 

EventMappingSettings コンストラクタ (String, String)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

名前と型を指定してEventMappingSettings クラス新しインスタンス初期化します。

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim name As String
Dim type As String

Dim instance As New EventMappingSettings(name,
 type)
public EventMappingSettings (
    string name,
    string type
)
public:
EventMappingSettings (
    String^ name, 
    String^ type
)
public EventMappingSettings (
    String name, 
    String type
)
public function EventMappingSettings (
    name : String, 
    type : String
)

パラメータ

name

作成する EventMappingSettings オブジェクトの名前。

type

使用するイベント クラスの完全に修飾された型。

解説解説

このコンストラクタ使用される既定設定次の表に示します

設定

既定値

StartEventCode

0

EndEventCode

MaxValue

使用例使用例

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"));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EventMappingSettings クラス
EventMappingSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection
HealthMonitoringSection
EventMappingSettings クラス

EventMappingSettings コンストラクタ (String, String, Int32, Int32)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

指定した値を使用して、BufferModeSettings クラス新しインスタンス初期化します。

名前空間: System.Web.Configuration
アセンブリ: 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 EventMappingSettings (
    string name,
    string type,
    int startEventCode,
    int endEventCode
)
public:
EventMappingSettings (
    String^ name, 
    String^ type, 
    int startEventCode, 
    int endEventCode
)
public EventMappingSettings (
    String name, 
    String type, 
    int startEventCode, 
    int endEventCode
)
public function EventMappingSettings (
    name : String, 
    type : String, 
    startEventCode : int, 
    endEventCode : int
)

パラメータ

name

作成する EventMappingSettings オブジェクトの名前。

type

使用するイベント クラスの完全に修飾された型。

startEventCode

範囲開始を示すイベント コード

endEventCode

範囲終了を示すイベント コード

使用例使用例

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));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EventMappingSettings クラス
EventMappingSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection

EventMappingSettings コンストラクタ

EventMappingSettings クラス新しインスタンス初期化します。 HealthMonitoringSection EventMappingSettings
オーバーロードの一覧オーバーロードの一覧

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

関連項目

EventMappingSettings クラス
EventMappingSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection
HealthMonitoringSection
EventMappingSettings クラス



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「EventMappingSettings コンストラクタ」の関連用語

EventMappingSettings コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



EventMappingSettings コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS