CloudBlob 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
| CloudBlob(Uri) |
Initializes a new instance of the CloudBlob class using an absolute URI to the blob. |
| CloudBlob(Uri, StorageCredentials) |
Initializes a new instance of the CloudBlob class using an absolute URI to the blob. |
| CloudBlob(Uri, CloudBlobClient) |
Initializes a new instance of the CloudBlob class using an absolute URI to the blob. |
| CloudBlob(StorageUri, Nullable<DateTimeOffset>, StorageCredentials) |
Initializes a new instance of the CloudBlob class using an absolute URI to the blob. |
| CloudBlob(StorageUri, Nullable<DateTimeOffset>, CloudBlobClient) |
Initializes a new instance of the CloudBlob class using an absolute URI to the blob. |
| CloudBlob(Uri, Nullable<DateTimeOffset>, StorageCredentials) |
Initializes a new instance of the CloudBlob class using an absolute URI to the blob. |
| CloudBlob(Uri, Nullable<DateTimeOffset>, CloudBlobClient) |
Initializes a new instance of the CloudBlob class using an absolute URI to the blob. |
CloudBlob(Uri)
Initializes a new instance of the CloudBlob class using an absolute URI to the blob.
public CloudBlob(Uri blobAbsoluteUri);
new Microsoft.Azure.Storage.Blob.CloudBlob : Uri -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Sub New (blobAbsoluteUri As Uri)
Parameters
- blobAbsoluteUri
- System.Uri
A System.Uri specifying the absolute URI to the blob.
Applies to
CloudBlob(Uri, StorageCredentials)
Initializes a new instance of the CloudBlob class using an absolute URI to the blob.
public CloudBlob(Uri blobAbsoluteUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.Blob.CloudBlob : Uri * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Sub New (blobAbsoluteUri As Uri, credentials As StorageCredentials)
Parameters
- blobAbsoluteUri
- System.Uri
A System.Uri specifying the absolute URI to the blob.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudBlob(Uri, CloudBlobClient)
Initializes a new instance of the CloudBlob class using an absolute URI to the blob.
public CloudBlob(Uri blobAbsoluteUri, Microsoft.Azure.Storage.Blob.CloudBlobClient client);
new Microsoft.Azure.Storage.Blob.CloudBlob : Uri * Microsoft.Azure.Storage.Blob.CloudBlobClient -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Sub New (blobAbsoluteUri As Uri, client As CloudBlobClient)
Parameters
- blobAbsoluteUri
- System.Uri
A System.Uri specifying the absolute URI to the blob.
- client
- CloudBlobClient
A CloudBlobClient object.
Applies to
CloudBlob(StorageUri, Nullable<DateTimeOffset>, StorageCredentials)
Initializes a new instance of the CloudBlob class using an absolute URI to the blob.
public CloudBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.Blob.CloudBlob : Microsoft.Azure.Storage.StorageUri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.Blob.CloudBlob
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
- System.Nullable<System.DateTimeOffset>
A System.DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudBlob(StorageUri, Nullable<DateTimeOffset>, CloudBlobClient)
Initializes a new instance of the CloudBlob class using an absolute URI to the blob.
public CloudBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client);
new Microsoft.Azure.Storage.Blob.CloudBlob : Microsoft.Azure.Storage.StorageUri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Blob.CloudBlobClient -> Microsoft.Azure.Storage.Blob.CloudBlob
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
- System.Nullable<System.DateTimeOffset>
A System.DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- client
- CloudBlobClient
A CloudBlobClient object.
Applies to
CloudBlob(Uri, Nullable<DateTimeOffset>, StorageCredentials)
Initializes a new instance of the CloudBlob class using an absolute URI to the blob.
public CloudBlob(Uri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials);
new Microsoft.Azure.Storage.Blob.CloudBlob : Uri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Auth.StorageCredentials -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Sub New (blobAbsoluteUri As Uri, snapshotTime As Nullable(Of DateTimeOffset), credentials As StorageCredentials)
Parameters
- blobAbsoluteUri
- System.Uri
A System.Uri specifying the absolute URI to the blob.
- snapshotTime
- System.Nullable<System.DateTimeOffset>
A System.DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- credentials
- StorageCredentials
A StorageCredentials object.
Applies to
CloudBlob(Uri, Nullable<DateTimeOffset>, CloudBlobClient)
Initializes a new instance of the CloudBlob class using an absolute URI to the blob.
public CloudBlob(Uri blobAbsoluteUri, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client);
new Microsoft.Azure.Storage.Blob.CloudBlob : Uri * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.Blob.CloudBlobClient -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Sub New (blobAbsoluteUri As Uri, snapshotTime As Nullable(Of DateTimeOffset), client As CloudBlobClient)
Parameters
- blobAbsoluteUri
- System.Uri
A System.Uri specifying the absolute URI to the blob.
- snapshotTime
- System.Nullable<System.DateTimeOffset>
A System.DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.
- client
- CloudBlobClient
A CloudBlobClient object.