ExceptionClassAttribute クラス
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)

<AttributeUsageAttribute(AttributeTargets.Class, Inherited:=True)> _ <ComVisibleAttribute(False)> _ Public NotInheritable Class ExceptionClassAttribute Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)] [ComVisibleAttribute(false)] public sealed class ExceptionClassAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited=true)] [ComVisibleAttribute(false)] public ref class ExceptionClassAttribute sealed : public Attribute


ExceptionClassAttribute 型の使用方法のコード例を次に示します。
using System; using System.EnterpriseServices; using System.Reflection; // References: // System.EnterpriseServices [ExceptionClass("ExceptionHandler")] public class ExceptionClassAttribute_Ctor_String : ServicedComponent { } [ExceptionClass("ExceptionHandler")] public class ExceptionClassAttribute_Value : ServicedComponent { public void ValueExample() { // Get the ExceptionClassAttribute applied to the class. ExceptionClassAttribute attribute = (ExceptionClassAttribute)Attribute.GetCustomAttribute( this.GetType(), typeof(ExceptionClassAttribute), false); // Display the value of the attribute's Value property. Console.WriteLine("ExceptionClassAttribute.Value: {0}", attribute.Value); } }
import System.*; import System.EnterpriseServices.*; import System.Reflection.*; // References: // System.EnterpriseServices /** @attribute ExceptionClass("ExceptionHandler") */ public class ExceptionClassAttribute_Ctor_String extends ServicedComponent { } //ExceptionClassAttribute_Ctor_String /** @attribute ExceptionClass("ExceptionHandler") */ public class ExceptionClassAttribute_Value extends ServicedComponent { public void ValueExample() { // Get the ExceptionClassAttribute applied to the class. ExceptionClassAttribute attribute = (ExceptionClassAttribute)( Attribute.GetCustomAttribute(this.GetType(), ExceptionClassAttribute.class.ToType(), false)); // Display the value of the attribute's Value property. Console.WriteLine("ExceptionClassAttribute.Value: {0}", attribute.get_Value()); } //ValueExample } //ExceptionClassAttribute_Value

System.Attribute
System.EnterpriseServices.ExceptionClassAttribute


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


ExceptionClassAttribute コンストラクタ
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)




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


ExceptionClassAttribute プロパティ

名前 | 説明 | |
---|---|---|
![]() | TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 ( Attribute から継承されます。) |
![]() | Value | メッセージが配信不能キューにルーティングされる前に、プレーヤーがアクティブにして再生する例外クラスの名前を取得します。 |

ExceptionClassAttribute メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 ( Attribute から継承されます。) |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 ( Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 ( Attribute から継承されます。) |
![]() | GetHashCode | このインスタンスのハッシュ コードを返します。 ( Attribute から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 ( Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 ( Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 ( Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

ExceptionClassAttribute メンバ
キューに置かれたクラスのキュー例外クラスを設定します。このクラスは継承できません。
ExceptionClassAttribute データ型で公開されるメンバを以下の表に示します。


名前 | 説明 | |
---|---|---|
![]() | TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。(Attribute から継承されます。) |
![]() | Value | メッセージが配信不能キューにルーティングされる前に、プレーヤーがアクティブにして再生する例外クラスの名前を取得します。 |

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 ( Attribute から継承されます。) |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。) |
![]() | GetHashCode | このインスタンスのハッシュ コードを返します。 (Attribute から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

Weblioに収録されているすべての辞書からExceptionClassAttributeを検索する場合は、下記のリンクをクリックしてください。

- ExceptionClassAttributeのページへのリンク