StorageException Class

Definition

Represents an exception thrown by the Azure Storage service.

public class StorageException : Exception
Inheritance
StorageException

Constructors

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(SerializationInfo, StreamingContext)

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

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.

Properties

RequestInformation

Gets the RequestResult object for this StorageException object.

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

ToString()

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

TranslateException(Exception, RequestResult)

Translates the specified exception into a StorageException.

TranslateException(Exception, RequestResult, Func<Stream,StorageExtendedErrorInformation>)

Translates the specified exception into a storage exception.

Extension Methods

CheckIotHubErrorCode(Exception, ErrorCode[])
DisablePrepareForRethrow(Exception)
GetReferenceCode(Exception)
IsFatal(Exception)
PrepareForRethrow(Exception)
ToStringSlim(Exception)
Unwind(Exception)
Unwind(Exception, Type[])
Unwind<TException>(Exception)
IsWrappedExceptionTransient(Exception)
FindInnerException<T>(Exception)

Applies to