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>]
member this.AsynchronousThreadExceptionHandler : System.ServiceModel.Dispatcher.ExceptionHandler with get, set
member this.AsynchronousThreadExceptionHandler : System.ServiceModel.Dispatcher.ExceptionHandler with get, set
Public Shared Property AsynchronousThreadExceptionHandler As ExceptionHandler

속성 값

ExceptionHandler

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

특성

설명

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

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

적용 대상