CloudBlockBlob 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 CloudBlockBlob class using a relative URI to the blob, and 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 blobUri As String
Dim client As CloudBlobClient

Dim instance As New CloudBlockBlob(blobUri, client)

Syntax

Visual Basic
Public Sub New ( _
	blobUri As String, _
	client As CloudBlobClient _
)
C#
public CloudBlockBlob (
	string blobUri,
	CloudBlobClient client
)
C++
public:
CloudBlockBlob (
	String^ blobUri, 
	CloudBlobClient^ client
)
J#
JScript

Parameters

blobUri

Type: System.String

The relative URI to the blob, beginning with the container name.

client

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