FabricCannotConnectException Constructors

Definition

Overloads

FabricCannotConnectException()

Initializes a new instance of FabricCannotConnectException class with error code FabricCannotConnect.

FabricCannotConnectException(String)

Initializes a new instance of FabricCannotConnectException class with error code FabricCannotConnect and a specified error message.

FabricCannotConnectException(String, Exception, FabricErrorCode)

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

FabricCannotConnectException()

Initializes a new instance of FabricCannotConnectException class with error code FabricCannotConnect.

public FabricCannotConnectException ();
Public Sub New ()

Applies to

FabricCannotConnectException(String)

Initializes a new instance of FabricCannotConnectException class with error code FabricCannotConnect and a specified error message.

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricCannotConnectException(String, Exception, FabricErrorCode)

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

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

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 null if no inner exception is specified. The Exception class provides more details about the inner exception.

errorCode
FabricErrorCode

The error code associated with the exception.

Applies to