CloudBlockBlob Constructor (String, Nullable, CloudBlobClient)

[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, or snapshot if the blob is a snapshot.

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

Usage

'Usage
Dim blobUri As String
Dim snapshotTime As Nullable(Of DateTime)
Dim client As CloudBlobClient

Dim instance As New CloudBlockBlob(blobUri, snapshotTime, client)

Syntax

'Declaration
Public Sub New ( _
    blobUri As String, _
    snapshotTime As Nullable(Of DateTime), _
    client As CloudBlobClient _
)
public CloudBlockBlob (
    string blobUri,
    Nullable<DateTime> snapshotTime,
    CloudBlobClient client
)
public:
CloudBlockBlob (
    String^ blobUri, 
    Nullable<DateTime> snapshotTime, 
    CloudBlobClient^ client
)

Parameters

  • blobUri
    Type: System.String

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

  • snapshotTime
    Type: System.Nullable

    The snapshot timestamp, if the blob is a snapshot.

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

Reference

CloudBlockBlob Class
CloudBlockBlob Members
Microsoft.WindowsAzure.StorageClient Namespace