ExceptionClassAttribute.Value プロパティ
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文メッセージが配信不能キューにルーティングされる前に、プレーヤーがアクティブにして再生する例外クラスの名前。
使用例ExceptionClass 属性の Value プロパティの値を取得するコード例を次に示します。
[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);
}
}
/** @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
.NET Framework のセキュリティ
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からExceptionClassAttribute.Value プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からExceptionClassAttribute.Value プロパティ
を検索
- ExceptionClassAttribute.Value プロパティのページへのリンク