Share via


FabricInvalidForStatelessServicesException Constructors

Definition

Overloads

FabricInvalidForStatelessServicesException()

Initializes a new instance of the FabricInvalidForStatelessServicesException class.

FabricInvalidForStatelessServicesException(String)

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

FabricInvalidForStatelessServicesException(String, Exception)

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

FabricInvalidForStatelessServicesException(String, FabricErrorCode)

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

FabricInvalidForStatelessServicesException(String, Exception, FabricErrorCode)

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

FabricInvalidForStatelessServicesException()

Initializes a new instance of the FabricInvalidForStatelessServicesException class.

public FabricInvalidForStatelessServicesException ();
Public Sub New ()

Applies to

FabricInvalidForStatelessServicesException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricInvalidForStatelessServicesException(String, Exception)

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

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

FabricInvalidForStatelessServicesException(String, FabricErrorCode)

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

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

FabricInvalidForStatelessServicesException(String, Exception, FabricErrorCode)

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

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