你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageFileManagement.FileExistsAsync Method

Definition

Overloads

FileExistsAsync(CloudFile, FileRequestOptions, OperationContext, CancellationToken)
FileExistsAsync(CloudFile, FileRequestOptions, OperationContext, CancellationToken)

FileExistsAsync(CloudFile, FileRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task<bool> FileExistsAsync (Microsoft.WindowsAzure.Storage.File.CloudFile file, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member FileExistsAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.FileExistsAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function FileExistsAsync (file As CloudFile, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

file
CloudFile
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Implements

Applies to

FileExistsAsync(CloudFile, FileRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task<bool> FileExistsAsync (Microsoft.Azure.Storage.File.CloudFile file, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member FileExistsAsync : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.FileExistsAsync : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function FileExistsAsync (file As CloudFile, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

file
CloudFile
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Implements

Applies to