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.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기