[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
Visual Basic |
---|
Dim blobUri As String
Dim snapshotTime As Nullable(Of DateTime)
Dim client As CloudBlobClient
Dim instance As New CloudBlockBlob(blobUri, snapshotTime, client) |
Syntax
Visual Basic |
---|
Public Sub New ( _
blobUri As String, _
snapshotTime As Nullable(Of DateTime), _
client As CloudBlobClient _
) |
C# |
---|
public CloudBlockBlob (
string blobUri,
Nullable<DateTime> snapshotTime,
CloudBlobClient client
) |
C++ |
---|
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.
- client
Type: Microsoft.WindowsAzure.StorageClient.CloudBlobClient
A client object that specifies the endpoint for the Blob service.
Platforms
See Also