StorageBlobManagement.GetBlobReferenceFromServerAsync Method
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
GetBlobReferenceFromServerAsync(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.CloudBlob> GetBlobReferenceFromServerAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string blobName, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetBlobReferenceFromServerAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.CloudBlob>
override this.GetBlobReferenceFromServerAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.CloudBlob>
Public Function GetBlobReferenceFromServerAsync (container As CloudBlobContainer, blobName As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of CloudBlob)
Parameters
- container
- CloudBlobContainer
- blobName
- String
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext
- cancellationToken
- CancellationToken
Returns
Implements
Applies to
GetBlobReferenceFromServerAsync(CloudBlobContainer, String, Nullable<DateTimeOffset>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
Return a task that asynchronously get the blob reference from server
public System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlob> GetBlobReferenceFromServerAsync (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, string blobName, DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetBlobReferenceFromServerAsync : Microsoft.Azure.Storage.Blob.CloudBlobContainer * string * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlob>
override this.GetBlobReferenceFromServerAsync : Microsoft.Azure.Storage.Blob.CloudBlobContainer * string * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlob>
Public Function GetBlobReferenceFromServerAsync (container As CloudBlobContainer, blobName As String, snapshotTime As Nullable(Of DateTimeOffset), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of CloudBlob)
Parameters
- container
- CloudBlobContainer
CloudBlobContainer object
- blobName
- String
Blob name
- snapshotTime
- Nullable<DateTimeOffset>
Snapshot time to append.
- accessCondition
- AccessCondition
Access condition
- options
- BlobRequestOptions
Blob request options
- operationContext
- OperationContext
Operation context
- cancellationToken
- CancellationToken
Cancellation token
Returns
A task object that asynchronously get the blob reference from server