Dela via


StorageException Constructors

Definition

Overloads

StorageException()

Initializes a new instance of the StorageException class.

StorageException(String)

Initializes a new instance of the StorageException class using the specified error message.

StorageException(String, Exception)

Initializes a new instance of the StorageException class with a specified error message and a reference to the inner exception that generated this exception.

StorageException(RequestResult, String, Exception)

Initializes a new instance of the StorageException class by using the specified parameters.

StorageException()

Initializes a new instance of the StorageException class.

public StorageException ();
Public Sub New ()

Applies to

StorageException(String)

Initializes a new instance of the StorageException class using the specified error message.

public StorageException (string message);
new Microsoft.Azure.Cosmos.Table.StorageException : string -> Microsoft.Azure.Cosmos.Table.StorageException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

StorageException(String, Exception)

Initializes a new instance of the StorageException class with a specified error message and a reference to the inner exception that generated this exception.

public StorageException (string message, Exception innerException);
new Microsoft.Azure.Cosmos.Table.StorageException : string * Exception -> Microsoft.Azure.Cosmos.Table.StorageException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception error message.

innerException
Exception

The inner exception.

Applies to

StorageException(RequestResult, String, Exception)

Initializes a new instance of the StorageException class by using the specified parameters.

public StorageException (Microsoft.Azure.Cosmos.Table.RequestResult res, string message, Exception inner);
new Microsoft.Azure.Cosmos.Table.StorageException : Microsoft.Azure.Cosmos.Table.RequestResult * string * Exception -> Microsoft.Azure.Cosmos.Table.StorageException
Public Sub New (res As RequestResult, message As String, inner As Exception)

Parameters

res
RequestResult

The request result.

message
String

The exception message.

inner
Exception

The inner exception.

Applies to