Bagikan melalui


MessagingExceptionHelper.Unwrap Method

Definition

Overloads

Unwrap(CommunicationException)
Unwrap(CommunicationException, Boolean)

Unwrap(CommunicationException)

public static Exception Unwrap (System.ServiceModel.CommunicationException exception);
static member Unwrap : System.ServiceModel.CommunicationException -> Exception
Public Function Unwrap (exception As CommunicationException) As Exception

Parameters

Returns

Applies to

Unwrap(CommunicationException, Boolean)

public static Exception Unwrap (System.ServiceModel.CommunicationException exception, bool isCancelling);
static member Unwrap : System.ServiceModel.CommunicationException * bool -> Exception
Public Function Unwrap (exception As CommunicationException, isCancelling As Boolean) As Exception

Parameters

isCancelling
Boolean

Returns

Applies to