StorageBlobManagement.DoesBlobExistAsync 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
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>
override this.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
- options
- BlobRequestOptions
- operationContext
- OperationContext
- cmdletCancellationToken
- CancellationToken
Returns
Implements
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>
override this.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.