CloudStorageAccount Constructor (StorageCredentials, Uri, Uri, Uri)

Updated: September 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 CloudStorageAccount class using the specified account credentials and service endpoints.

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

Dim storageCredentials As StorageCredentials
Dim blobEndpoint As Uri
Dim queueEndpoint As Uri
Dim tableEndpoint As Uri

Dim instance As New CloudStorageAccount(storageCredentials, blobEndpoint, queueEndpoint, tableEndpoint)

public CloudStorageAccount (
	StorageCredentials storageCredentials,
	Uri blobEndpoint,
	Uri queueEndpoint,
	Uri tableEndpoint



Type: Microsoft.WindowsAzure.StorageCredentials

The account credentials.


Type: System.Uri

The Blob service endpoint.


Type: System.Uri

The Queue service endpoint.


Type: System.Uri

The Table service endpoint.

Use this constructor to construct a CloudStorageAccount using custom endpoints, in the case where you've configured a custom domain name for your storage account.

Development Platforms

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



CloudStorageAccount Class
CloudStorageAccount Members
Microsoft.WindowsAzure Namespace

Other Resources

Authenticating Access to Your Storage Account