Share via


MessagingCommunicationException Constructors

Definition

Overloads

MessagingCommunicationException(String)

Initializes a new instance of the MessagingCommunicationException class.

MessagingCommunicationException(String, Exception)

Initializes a new instance of the MessagingCommunicationException class.

MessagingCommunicationException(String)

Initializes a new instance of the MessagingCommunicationException class.

public MessagingCommunicationException (string communicationPath);
new Microsoft.ServiceBus.Messaging.MessagingCommunicationException : string -> Microsoft.ServiceBus.Messaging.MessagingCommunicationException
Public Sub New (communicationPath As String)

Parameters

communicationPath
String

The communication path.

Applies to

MessagingCommunicationException(String, Exception)

Initializes a new instance of the MessagingCommunicationException class.

public MessagingCommunicationException (string message, Exception innerException);
new Microsoft.ServiceBus.Messaging.MessagingCommunicationException : string * Exception -> Microsoft.ServiceBus.Messaging.MessagingCommunicationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The inner exception that is the cause of the current exception.

Applies to