DuplicateMessageException Constructors

Definition

Overloads

DuplicateMessageException()

Initializes a new instance of the DuplicateMessageException class.

DuplicateMessageException(String)

Initializes a new instance of the DuplicateMessageException class with a specified error message.

DuplicateMessageException(String, Exception)

Initializes a new instance of the DuplicateMessageException class with a specified error message and a reference to the inner exception that is the cause of this exception.

DuplicateMessageException()

Initializes a new instance of the DuplicateMessageException class.

public DuplicateMessageException ();
Public Sub New ()

Applies to

DuplicateMessageException(String)

Initializes a new instance of the DuplicateMessageException class with a specified error message.

public DuplicateMessageException (string message);
new Microsoft.ServiceFabric.Actors.Runtime.DuplicateMessageException : string -> Microsoft.ServiceFabric.Actors.Runtime.DuplicateMessageException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

DuplicateMessageException(String, Exception)

Initializes a new instance of the DuplicateMessageException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public DuplicateMessageException (string message, Exception inner);
new Microsoft.ServiceFabric.Actors.Runtime.DuplicateMessageException : string * Exception -> Microsoft.ServiceFabric.Actors.Runtime.DuplicateMessageException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

inner
Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Applies to