共用方式為


FabricOnlyValidForStatefulPersistentServicesException Constructors

Definition

Overloads

FabricOnlyValidForStatefulPersistentServicesException()

Initializes a new instance of the FabricOnlyValidForStatefulPersistentServicesException class.

FabricOnlyValidForStatefulPersistentServicesException(String)

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

FabricOnlyValidForStatefulPersistentServicesException(String, Exception)

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

FabricOnlyValidForStatefulPersistentServicesException(String, FabricErrorCode)

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

FabricOnlyValidForStatefulPersistentServicesException(String, Exception, FabricErrorCode)

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

FabricOnlyValidForStatefulPersistentServicesException()

Initializes a new instance of the FabricOnlyValidForStatefulPersistentServicesException class.

public FabricOnlyValidForStatefulPersistentServicesException ();
Public Sub New ()

Applies to

FabricOnlyValidForStatefulPersistentServicesException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricOnlyValidForStatefulPersistentServicesException(String, Exception)

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

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

FabricOnlyValidForStatefulPersistentServicesException(String, FabricErrorCode)

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

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

FabricOnlyValidForStatefulPersistentServicesException(String, Exception, FabricErrorCode)

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

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

FabricErrorCodedefines the error code that the exception is wrapping around.

Applies to