Udostępnij za pośrednictwem


FabricInvalidForStatefulServicesException Constructors

Definition

Overloads

FabricInvalidForStatefulServicesException()

Initializes a new instance of the FabricInvalidForStatefulServicesException class.

FabricInvalidForStatefulServicesException(String)

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

FabricInvalidForStatefulServicesException(String, Exception)

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

FabricInvalidForStatefulServicesException(String, FabricErrorCode)

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

FabricInvalidForStatefulServicesException(String, Exception, FabricErrorCode)

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

FabricInvalidForStatefulServicesException()

Initializes a new instance of the FabricInvalidForStatefulServicesException class.

public FabricInvalidForStatefulServicesException ();
Public Sub New ()

Applies to

FabricInvalidForStatefulServicesException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricInvalidForStatefulServicesException(String, Exception)

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

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

FabricInvalidForStatefulServicesException(String, FabricErrorCode)

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

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

FabricInvalidForStatefulServicesException(String, Exception, FabricErrorCode)

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

public FabricInvalidForStatefulServicesException (string message, Exception inner, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricInvalidForStatefulServicesException : string * Exception * System.Fabric.FabricErrorCode -> System.Fabric.FabricInvalidForStatefulServicesException
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 a null reference if no inner exception is specified.

errorCode
FabricErrorCode

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

Applies to