StorageException Constructor (StorageErrorCode, String, HttpStatusCode, StorageExtendedErrorInformation, Exception)

Updated: April 24, 2013

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Initializes a new instance of the StorageException Class with the Storage client error code, a message describing the exception, the HTTP status code returned in the response, the extended error information, and the Exception instance that caused the current exception.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Dim errorCode As StorageErrorCode
Dim message As String
Dim statusCode As HttpStatusCode
Dim extendedErrorInfo As StorageExtendedErrorInformation
Dim innerException As Exception

Dim instance As New StorageException(errorCode, message, statusCode, extendedErrorInfo, innerException)

protected StorageException (
	StorageErrorCode errorCode,
	string message,
	HttpStatusCode statusCode,
	StorageExtendedErrorInformation extendedErrorInfo,
	Exception innerException



Type: Microsoft.WindowsAzure.StorageClient.StorageErrorCode

The storage client error code.


Type: System.String

The message that describes the exception.


Type: System.Net.HttpStatusCode

The HTTP status code returned in the response.


Type: Microsoft.WindowsAzure.StorageClient.StorageExtendedErrorInformation

The extended error information.


Type: System.Exception

The Exception instance that caused the current exception.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012



StorageException Class
StorageException Members
Microsoft.WindowsAzure.StorageClient Namespace