共用方式為


DuplicateMessageException Constructors

Definition

Overloads

DuplicateMessageException(String)

Initializes a new instance of the DuplicateMessageException class.

DuplicateMessageException(String, Exception)

Initializes a new instance of the DuplicateMessageException class.

DuplicateMessageException(String)

Initializes a new instance of the DuplicateMessageException class.

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

Parameters

message
String

The error message about the exception.

Applies to

DuplicateMessageException(String, Exception)

Initializes a new instance of the DuplicateMessageException class.

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

Parameters

message
String

The error message about the exception.

innerException
Exception

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

Applies to