Share via


StorageException Class

Definition

Represents an exception thrown by the Azure Storage service.

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

Constructors

StorageException()

Initializes a new instance of the StorageException class.

StorageException(RequestResult, String, Exception)

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

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(String)

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

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.

TranslateExceptionAsync(Exception, RequestResult, Func<Stream, CancellationToken,Task<StorageExtendedErrorInformation>>, CancellationToken, HttpResponseMessage)

Translates the specified exception into a storage exception.

Applies to