Storage​Exception Class

Definition

Represents an exception thrown by the Azure Storage service.

public class StorageException : Exception
Inheritance
StorageException

Constructors

Storage​Exception()

Initializes a new instance of the StorageException class.

Storage​Exception(​String)

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

Storage​Exception(​Serialization​Info, ​Streaming​Context)

Initializes a new instance of the StorageException class with serialized data.

Storage​Exception(​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.

Storage​Exception(​Request​Result, ​String, ​Exception)

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

Properties

Request​Information

Gets the RequestResult object for this StorageException object.

Methods

Get​Object​Data(​Serialization​Info, ​Streaming​Context)

Populates a SerializationInfo object with the data needed to serialize the target object.

To​String()

Represents an exception thrown by the Microsoft Azure storage client library.

Translate​Exception(​Exception, ​Request​Result)

Translates the specified exception into a StorageException.

Translate​Exception(​Exception, ​Request​Result, ​Func<​Stream,​Storage​Extended​Error​Information>)

Translates the specified exception into a storage exception.

Extension Methods

ToInvariantString(Exception)

Represents an exception thrown by the Azure Storage service.

CheckIotHubErrorCode(Exception, ErrorCode[])

Represents an exception thrown by the Azure Storage service.

DisablePrepareForRethrow(Exception)

Represents an exception thrown by the Azure Storage service.

GetReferenceCode(Exception)

Represents an exception thrown by the Azure Storage service.

IsFatal(Exception)

Represents an exception thrown by the Azure Storage service.

PrepareForRethrow(Exception)

Represents an exception thrown by the Azure Storage service.

ToStringSlim(Exception)

Represents an exception thrown by the Azure Storage service.

Unwind(Exception)

Represents an exception thrown by the Azure Storage service.

Unwind(Exception, Type[])

Represents an exception thrown by the Azure Storage service.

Unwind<TException>(Exception)

Represents an exception thrown by the Azure Storage service.

IsWrappedExceptionTransient(Exception)

Represents an exception thrown by the Azure Storage service.

FindInnerException<T>(Exception)

Represents an exception thrown by the Azure Storage service.