<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.2.1" />

Microsoft.Azure.Storage.StorageException

public class StorageException : Exception
Represents an exception thrown by the Azure Storage service.

Gets the RequestResult object for this StorageException object.

Initializes a new instance of the StorageException class.

public StorageException(string message)

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

public StorageException(string message, Exception innerException)

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

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

public StorageException(RequestResult res, string message, Exception inner)

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

Translates the specified exception into a storage exception.