CloudBlobContainer Constructor (String, CloudBlobClient)

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 with a CloudBlobClient object that specifies the endpoint for the Blob service.

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

Usage

Visual Basic
Dim containerAddress As String
Dim service As CloudBlobClient

Dim instance As New CloudBlobContainer(containerAddress, service)

Syntax

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

Parameters

containerAddress

Type: System.String

Either the absolute URI to the container, or the container name.

service

Type: Microsoft.WindowsAzure.StorageClient.CloudBlobClient

A client object that specifies the endpoint for the Blob service.

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