Dela via


FabricBackupInProgressException Constructors

Definition

Overloads

FabricBackupInProgressException()

Initializes a new instance of FabricBackupInProgressException class with error code BackupInProgress.

FabricBackupInProgressException(String)

Initializes a new instance of the FabricBackupInProgressException class with error code BackupInProgress and a specified error message.

FabricBackupInProgressException(SerializationInfo, StreamingContext)

Initializes a new instance of FabricBackupInProgressException class from a serialized object data, with a specified context.

FabricBackupInProgressException(String, Exception)

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

FabricBackupInProgressException()

Initializes a new instance of FabricBackupInProgressException class with error code BackupInProgress.

public FabricBackupInProgressException ();
Public Sub New ()

Applies to

FabricBackupInProgressException(String)

Initializes a new instance of the FabricBackupInProgressException class with error code BackupInProgress and a specified error message.

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricBackupInProgressException(SerializationInfo, StreamingContext)

Initializes a new instance of FabricBackupInProgressException class from a serialized object data, with a specified context.

protected FabricBackupInProgressException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Fabric.FabricBackupInProgressException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Fabric.FabricBackupInProgressException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo object that contains serialized object data of the exception being thrown.

context
StreamingContext

The StreamingContext object that contains contextual information about the source or destination. The context parameter is reserved for future use and can be null.

Applies to

FabricBackupInProgressException(String, Exception)

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

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