你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageFileManagement.FileExistsAsync 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
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
- options
- FileRequestOptions
- 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
- options
- FileRequestOptions
- operationContext
- OperationContext
- cancellationToken
- CancellationToken