CloudBlockBlob Constructor (String, StorageCredentials, Boolean)

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 an absolute URI to the blob and the storage account credentials, specifying whether path-style URIs are used.

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

Usage

Visual Basic
Dim blobAbsoluteUri As String
Dim credentials As StorageCredentials
Dim usePathStyleUris As Boolean

Dim instance As New CloudBlockBlob(blobAbsoluteUri, credentials, usePathStyleUris)

Syntax

Visual Basic
Public Sub New ( _
	blobAbsoluteUri As String, _
	credentials As StorageCredentials, _
	usePathStyleUris As Boolean _
)
C#
public CloudBlockBlob (
	string blobAbsoluteUri,
	StorageCredentials credentials,
	bool usePathStyleUris
)
C++
public:
CloudBlockBlob (
	String^ blobAbsoluteUri, 
	StorageCredentials^ credentials, 
	bool usePathStyleUris
)
J#
JScript

Parameters

blobAbsoluteUri

Type: System.String

The absolute URI to the blob.

credentials

Type: Microsoft.WindowsAzure.StorageCredentials

The account credentials.

usePathStyleUris

Type: System.Boolean

True to use path-style URIs; otherwise, false.

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