Dela via


FabricInvalidAddressException Constructors

Definition

Overloads

FabricInvalidAddressException()

Initializes a new instance of FabricInvalidAddressException class with error code Unknown.

FabricInvalidAddressException(FabricErrorCode)

Initializes a new instance of FabricInvalidAddressException class with a specified error code.

FabricInvalidAddressException(String)

Initializes a new instance of FabricInvalidAddressException class with error code Unknown and a specified error message.

FabricInvalidAddressException(String, Exception)

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

FabricInvalidAddressException(String, FabricErrorCode)

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

FabricInvalidAddressException(String, Exception, FabricErrorCode)

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

FabricInvalidAddressException()

Initializes a new instance of FabricInvalidAddressException class with error code Unknown.

public FabricInvalidAddressException ();
Public Sub New ()

Applies to

FabricInvalidAddressException(FabricErrorCode)

Initializes a new instance of FabricInvalidAddressException class with a specified error code.

public FabricInvalidAddressException (System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricInvalidAddressException : System.Fabric.FabricErrorCode -> System.Fabric.FabricInvalidAddressException
Public Sub New (errorCode As FabricErrorCode)

Parameters

errorCode
FabricErrorCode

The error code associated with the exception.

Applies to

FabricInvalidAddressException(String)

Initializes a new instance of FabricInvalidAddressException class with error code Unknown and a specified error message.

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricInvalidAddressException(String, Exception)

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

public FabricInvalidAddressException (string message, Exception inner);
new System.Fabric.FabricInvalidAddressException : string * Exception -> System.Fabric.FabricInvalidAddressException
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 null if no inner exception is specified. The Exception class provides more details about the inner exception.

Applies to

FabricInvalidAddressException(String, FabricErrorCode)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

errorCode
FabricErrorCode

The error code associated with the exception.

Applies to

FabricInvalidAddressException(String, Exception, FabricErrorCode)

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

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