Udostępnij za pośrednictwem


IStorageBlobManagement.DoesBlobExistAsync Method

Definition

Overloads

DoesBlobExistAsync(CloudBlob, BlobRequestOptions, OperationContext, CancellationToken)
DoesBlobExistAsync(CloudBlob, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously check whether the specified blob exists.

DoesBlobExistAsync(CloudBlob, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task<bool> DoesBlobExistAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlob blob, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DoesBlobExistAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlob * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DoesBlobExistAsync (blob As CloudBlob, options As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

blob
CloudBlob
operationContext
OperationContext
cmdletCancellationToken
CancellationToken

Returns

Applies to

DoesBlobExistAsync(CloudBlob, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously check whether the specified blob exists.

public System.Threading.Tasks.Task<bool> DoesBlobExistAsync (Microsoft.Azure.Storage.Blob.CloudBlob blob, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DoesBlobExistAsync : Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DoesBlobExistAsync (blob As CloudBlob, options As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

blob
CloudBlob

CloudBlob object

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cmdletCancellationToken
CancellationToken

Cancellation token

Returns

A task object that asynchronously check whether the specified blob exists.

Applies to