ExceptionClassAttribute.Value 속성

정의

배달 못 한 큐로 메시지가 라우팅되기 전에 플레이어가 활성화되고 재생되는 예외 클래스의 이름을 가져옵니다.

public:
 property System::String ^ Value { System::String ^ get(); };
public string Value { get; }
member this.Value : string
Public ReadOnly Property Value As String

속성 값

배달 못 한 큐로 메시지가 라우팅되기 전에 플레이어가 활성화되고 재생되는 예외 클래스의 이름입니다.

예제

다음 코드 예제에서는 값을 가져옵니다는 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);
    }
}

적용 대상