EventMappingSettings クラスとは? わかりやすく解説

EventMappingSettings クラス

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

イベント プロバイダ対すASP.NET イベント割り当て設定定義します。このクラス継承できません。

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

Public NotInheritable Class
 EventMappingSettings
    Inherits ConfigurationElement
Dim instance As EventMappingSettings
public sealed class EventMappingSettings :
 ConfigurationElement
public ref class EventMappingSettings sealed
 : public ConfigurationElement
public final class EventMappingSettings extends
 ConfigurationElement
public final class EventMappingSettings extends
 ConfigurationElement
解説解説
使用例使用例

以下は構成ファイルからの抜粋です。EventMappingSettings クラス複数プロパティに対して宣言によって値を指定する方法示してます。

<healthMonitoring>
  <eventMappings>
    <add name="All Events"
      type="System.Web.Management.WebBaseEvent, System.Web, 
      Version=%ASSEMBLY_VERSION%, Culture=neutral, 
      PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
    />
    <add name="HeartBeats"
      type="System.Web.Management.WebHeartBeatEvent, System.Web, 
      Version=%ASSEMBLY_VERSION%, Culture=neutral, 
      PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
    />
        <add name="Application Lifetime Events"
            type="System.Web.Management.WebApplicationLifetimeEvent, System.Web,
 Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"
 
        />
        <add name="Request Processing Events"
            type="System.Web.Management.WebRequestEvent, System.Web, Version=%ASSEMBLY_VERSION%,
 Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
        />
        <add name="All Errors"
            type="System.Web.Management.WebBaseErrorEvent, System.Web, Version=%ASSEMBLY_VERSION%,
 Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
        />
        <add name="Infrastructure Errors"
            type="System.Web.Management.WebErrorEvent, System.Web, Version=%ASSEMBLY_VERSION%,
 Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
        />
        <add name="Request Processing Errors"
            type="System.Web.Management.WebRequestErrorEvent, System.Web, Version=%ASSEMBLY_VERSION%,
 Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
        />
        <add name="All Audits"
            type="System.Web.Management.WebAuditEvent, System.Web, Version=%ASSEMBLY_VERSION%,
 Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
        />
        <add name="Failure Audits"
            type="System.Web.Management.WebFailureAuditEvent, System.Web, Version=%ASSEMBLY_VERSION%,
 Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
        />
        <add name="Success Audits"
            type="System.Web.Management.WebSuccessAuditEvent, System.Web, Version=%ASSEMBLY_VERSION%,
 Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%" 
        />
    </eventMappings>
</healthMonitoring> 
継承階層継承階層
System.Object
   System.Configuration.ConfigurationElement
    System.Web.Configuration.EventMappingSettings
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EventMappingSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection
その他の技術情報
healthMonitoring の eventMappings 要素 (ASP.NET 設定スキーマ)



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

辞書ショートカット

すべての辞書の索引

「EventMappingSettings クラス」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS