MessagingExceptionHelper.Unwrap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- exception
- CommunicationException
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
- exception
- CommunicationException
- isCancelling
- Boolean