Share via


FabricInvalidReplicaSelectorException Constructors

Definition

Overloads

FabricInvalidReplicaSelectorException()

Initializes a new instance of the FabricInvalidReplicaSelectorException class.

FabricInvalidReplicaSelectorException(String)

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

FabricInvalidReplicaSelectorException(String, Exception)

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

FabricInvalidReplicaSelectorException(String, FabricErrorCode)

Initializes a new instance of FabricInvalidReplicaSelectorException with specified message and error code.

FabricInvalidReplicaSelectorException()

Initializes a new instance of the FabricInvalidReplicaSelectorException class.

public FabricInvalidReplicaSelectorException ();
Public Sub New ()

Applies to

FabricInvalidReplicaSelectorException(String)

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

public FabricInvalidReplicaSelectorException (string message);
new System.Fabric.FabricInvalidReplicaSelectorException : string -> System.Fabric.FabricInvalidReplicaSelectorException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricInvalidReplicaSelectorException(String, Exception)

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

public FabricInvalidReplicaSelectorException (string message, Exception inner);
new System.Fabric.FabricInvalidReplicaSelectorException : string * Exception -> System.Fabric.FabricInvalidReplicaSelectorException
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

FabricInvalidReplicaSelectorException(String, FabricErrorCode)

Initializes a new instance of FabricInvalidReplicaSelectorException with specified message and error code.

public FabricInvalidReplicaSelectorException (string message, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricInvalidReplicaSelectorException : string * System.Fabric.FabricErrorCode -> System.Fabric.FabricInvalidReplicaSelectorException
Public Sub New (message As String, errorCode As FabricErrorCode)

Parameters

message
String

The error message that explains the reason for the exception.

errorCode
FabricErrorCode

FabricErrorCode defines the error code that the exception is wrapping around.

Applies to