FabricBackupDirectoryNotEmptyException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FabricBackupDirectoryNotEmptyException() |
Initializes a new instance of FabricBackupDirectoryNotEmptyException class with error code BackupDirectoryNotEmpty. |
FabricBackupDirectoryNotEmptyException(String) |
Initializes a new instance of FabricBackupDirectoryNotEmptyException class with error code BackupDirectoryNotEmpty and a specified error message. |
FabricBackupDirectoryNotEmptyException(SerializationInfo, StreamingContext) |
Initializes a new instance of FabricBackupDirectoryNotEmptyException class from a serialized object data, with a specified context. |
FabricBackupDirectoryNotEmptyException(String, Exception) |
Initializes a new instance of FabricBackupDirectoryNotEmptyException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
FabricBackupDirectoryNotEmptyException()
Initializes a new instance of FabricBackupDirectoryNotEmptyException class with error code BackupDirectoryNotEmpty.
public FabricBackupDirectoryNotEmptyException ();
Public Sub New ()
Applies to
FabricBackupDirectoryNotEmptyException(String)
Initializes a new instance of FabricBackupDirectoryNotEmptyException class with error code BackupDirectoryNotEmpty and a specified error message.
public FabricBackupDirectoryNotEmptyException (string message);
new System.Fabric.FabricBackupDirectoryNotEmptyException : string -> System.Fabric.FabricBackupDirectoryNotEmptyException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
FabricBackupDirectoryNotEmptyException(SerializationInfo, StreamingContext)
Initializes a new instance of FabricBackupDirectoryNotEmptyException class from a serialized object data, with a specified context.
protected FabricBackupDirectoryNotEmptyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Fabric.FabricBackupDirectoryNotEmptyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Fabric.FabricBackupDirectoryNotEmptyException
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
FabricBackupDirectoryNotEmptyException(String, Exception)
Initializes a new instance of FabricBackupDirectoryNotEmptyException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public FabricBackupDirectoryNotEmptyException (string message, Exception inner);
new System.Fabric.FabricBackupDirectoryNotEmptyException : string * Exception -> System.Fabric.FabricBackupDirectoryNotEmptyException
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.