Udostępnij za pośrednictwem


MessagingExceptionHelper.ConvertToCommunicationException Method

Definition

Overloads

ConvertToCommunicationException(MessagingException)
ConvertToCommunicationException(MessagingException, Boolean)

ConvertToCommunicationException(MessagingException)

public static System.ServiceModel.CommunicationException ConvertToCommunicationException (Microsoft.ServiceBus.Messaging.MessagingException exception);
static member ConvertToCommunicationException : Microsoft.ServiceBus.Messaging.MessagingException -> System.ServiceModel.CommunicationException
Public Function ConvertToCommunicationException (exception As MessagingException) As CommunicationException

Parameters

exception
MessagingException

Returns

Applies to

ConvertToCommunicationException(MessagingException, Boolean)

public static System.ServiceModel.CommunicationException ConvertToCommunicationException (Microsoft.ServiceBus.Messaging.MessagingException exception, out bool shouldFault);
static member ConvertToCommunicationException : Microsoft.ServiceBus.Messaging.MessagingException * bool -> System.ServiceModel.CommunicationException
Public Function ConvertToCommunicationException (exception As MessagingException, ByRef shouldFault As Boolean) As CommunicationException

Parameters

exception
MessagingException
shouldFault
Boolean

Returns

Applies to