CloudBlockBlob Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CloudBlockBlob(Uri) |
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob. |
CloudBlockBlob(Uri, StorageCredentials) |
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob. |
CloudBlockBlob(Uri, CloudBlobClient) |
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob. |
CloudBlockBlob(StorageUri, Nullable<DateTimeOffset>, StorageCredentials) |
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob. |
CloudBlockBlob(StorageUri, Nullable<DateTimeOffset>, CloudBlobClient) |
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob. |
CloudBlockBlob(Uri, Nullable<DateTimeOffset>, StorageCredentials) |
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob. |
CloudBlockBlob(Uri, Nullable<DateTimeOffset>, CloudBlobClient) |
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob. |
CloudBlockBlob(Uri)
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob (Uri blobAbsoluteUri);
new Microsoft.Azure.Storage.Blob.CloudBlockBlob : Uri -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Sub New (blobAbsoluteUri As Uri)
Parameters
Applies to
CloudBlockBlob(Uri, StorageCredentials)
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob (Uri blobAbsoluteUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.Blob.CloudBlockBlob : Uri * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Sub New (blobAbsoluteUri As Uri, credentials As StorageCredentials)
Parameters
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudBlockBlob(Uri, CloudBlobClient)
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob (Uri blobAbsoluteUri, Microsoft.Azure.Storage.Blob.CloudBlobClient client);
new Microsoft.Azure.Storage.Blob.CloudBlockBlob : Uri * Microsoft.Azure.Storage.Blob.CloudBlobClient -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Sub New (blobAbsoluteUri As Uri, client As CloudBlobClient)
Parameters
- client
- CloudBlobClient
A CloudBlobClient object.
Applies to
CloudBlockBlob(StorageUri, Nullable<DateTimeOffset>, StorageCredentials)
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob (Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.Blob.CloudBlockBlob : Microsoft.Azure.Storage.StorageUri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Sub New (blobAbsoluteUri As StorageUri, snapshotTime As Nullable(Of DateTimeOffset), credentials As StorageCredentials)
Parameters
- blobAbsoluteUri
- StorageUri
A StorageUri containing the absolute URI to the blob at both the primary and secondary locations.
- snapshotTime
- Nullable<DateTimeOffset>
A DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudBlockBlob(StorageUri, Nullable<DateTimeOffset>, CloudBlobClient)
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob (Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client);
new Microsoft.Azure.Storage.Blob.CloudBlockBlob : Microsoft.Azure.Storage.StorageUri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Blob.CloudBlobClient -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Sub New (blobAbsoluteUri As StorageUri, snapshotTime As Nullable(Of DateTimeOffset), client As CloudBlobClient)
Parameters
- blobAbsoluteUri
- StorageUri
A StorageUri containing the absolute URI to the blob at both the primary and secondary locations.
- snapshotTime
- Nullable<DateTimeOffset>
A DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- client
- CloudBlobClient
A CloudBlobClient object.
Applies to
CloudBlockBlob(Uri, Nullable<DateTimeOffset>, StorageCredentials)
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob (Uri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.Blob.CloudBlockBlob : Uri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Sub New (blobAbsoluteUri As Uri, snapshotTime As Nullable(Of DateTimeOffset), credentials As StorageCredentials)
Parameters
- snapshotTime
- Nullable<DateTimeOffset>
A DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudBlockBlob(Uri, Nullable<DateTimeOffset>, CloudBlobClient)
Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob (Uri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client);
new Microsoft.Azure.Storage.Blob.CloudBlockBlob : Uri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Blob.CloudBlobClient -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Sub New (blobAbsoluteUri As Uri, snapshotTime As Nullable(Of DateTimeOffset), client As CloudBlobClient)
Parameters
- snapshotTime
- Nullable<DateTimeOffset>
A DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- client
- CloudBlobClient
A CloudBlobClient object.