CloudBlobContainer Constructor (String, StorageCredentials)

Storage Client Library NET API

[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 CloudBlobContainer class using the storage account's authentication credentials.

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

Usage

Visual Basic
Dim containerAddress As String
Dim credentials As StorageCredentials

Dim instance As New CloudBlobContainer(containerAddress, credentials)

Syntax

Visual Basic
Public Sub New ( _
	containerAddress As String, _
	credentials As StorageCredentials _
)
C#
public CloudBlobContainer (
	string containerAddress,
	StorageCredentials credentials
)
C++
public:
CloudBlobContainer (
	String^ containerAddress, 
	StorageCredentials^ credentials
)
J#
JScript

Parameters

containerAddress

Type: System.String

The absolute URI to the container.

credentials

Type: Microsoft.WindowsAzure.StorageCredentials

The account credentials.

Platforms

Development Platforms

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

See Also