StorageException StorageException StorageException Class

Definition

Represents an exception thrown by the Azure Storage service.

[System.Serializable]
public class StorageException : Exception
type StorageException = class
    inherit Exception
Public Class StorageException
Inherits Exception
Inheritance
StorageExceptionStorageExceptionStorageException
Attributes

Constructors

StorageException() StorageException() StorageException()

Initializes a new instance of the StorageException class.

StorageException(String) StorageException(String) StorageException(String)

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

StorageException(SerializationInfo, StreamingContext) StorageException(SerializationInfo, StreamingContext) StorageException(SerializationInfo, StreamingContext)

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

StorageException(String, Exception) StorageException(String, Exception) 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) StorageException(RequestResult, String, Exception) StorageException(RequestResult, String, Exception)

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

Properties

RequestInformation RequestInformation RequestInformation

Gets the RequestResult object for this StorageException object.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

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

ToString() ToString() ToString()

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

TranslateException(Exception, RequestResult) TranslateException(Exception, RequestResult) TranslateException(Exception, RequestResult)

Translates the specified exception into a StorageException.

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

Translates the specified exception into a storage exception.

Extension Methods

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

Applies to