ExceptionHandler.AsynchronousThreadExceptionHandler 속성

정의

애플리케이션 도메인에 대한 현재 ExceptionHandler 구현을 가져오거나 설정합니다.

public:
 static property System::ServiceModel::Dispatcher::ExceptionHandler ^ AsynchronousThreadExceptionHandler { System::ServiceModel::Dispatcher::ExceptionHandler ^ get(); void set(System::ServiceModel::Dispatcher::ExceptionHandler ^ value); };
public static System.ServiceModel.Dispatcher.ExceptionHandler AsynchronousThreadExceptionHandler { [System.Security.SecurityCritical] [System.Security.SecurityTreatAsSafe] get; [System.Security.SecurityCritical] [System.Security.SecurityTreatAsSafe] set; }
public static System.ServiceModel.Dispatcher.ExceptionHandler AsynchronousThreadExceptionHandler { get; set; }
[<get: System.Security.SecurityCritical>]
[<get: System.Security.SecurityTreatAsSafe>]
[<set: System.Security.SecurityCritical>]
[<set: System.Security.SecurityTreatAsSafe>]
static member AsynchronousThreadExceptionHandler : System.ServiceModel.Dispatcher.ExceptionHandler with get, set
static member AsynchronousThreadExceptionHandler : System.ServiceModel.Dispatcher.ExceptionHandler with get, set
Public Shared Property AsynchronousThreadExceptionHandler As ExceptionHandler

속성 값

비동기 WCF(Windows Communication Foundation) 스레드에서 발생하는 처리되지 않은 예외를 수신하는 사용자 지정 ExceptionHandler 개체를 할당합니다.

특성

설명

기본적으로 AsynchronousThreadExceptionHandler 속성은 null비동기 WCF 스레드에서 처리되지 않은 예외가 애플리케이션을 종료합니다. 이러한 예외를 ExceptionHandler 수신하고 대응하려면 이 속성을 개체로 설정합니다.

비동기 WCF 스레드에서 처리되지 않은 예외가 발생하고 이 처리기에 도달하면 애플리케이션 도메인의 상태가 손상될 수 있습니다. HandleException 은 이러한 예외에 대해 반환 true 하지 않아야 합니다.

적용 대상