CloudFile.ExistsAsync Method (FileRequestOptions, OperationContext) (Microsoft.WindowsAzure.Storage.File)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
CloudFile.::..ExistsAsync Method (FileRequestOptions, OperationContext)(FileRequestOptions^, OperationContext^)(FileRequestOptions, OperationContext)(FileRequestOptions, OperationContext)
Returns a task that performs an asynchronous request to check existence of the file.
Namespace:
Microsoft.WindowsAzure.Storage.File
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
public virtual Task<bool> ExistsAsync(
FileRequestOptions options,
OperationContext operationContext
)
C++
public:
[DoesServiceRequestAttribute]
virtual Task<bool>^ ExistsAsync(
FileRequestOptions^ options,
OperationContext^ operationContext
)
[<DoesServiceRequestAttribute>]
abstract ExistsAsync :
options:FileRequestOptions *
operationContext:OperationContext -> Task<bool>
[<DoesServiceRequestAttribute>]
override ExistsAsync :
options:FileRequestOptions *
operationContext:OperationContext -> Task<bool>
<DoesServiceRequestAttribute>
Public Overridable Function ExistsAsync (
options As FileRequestOptions,
operationContext As OperationContext
) As Task(Of Boolean)
Parameters
- options
-
Type:
Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File::FileRequestOptions^Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File.FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
Return Value
Type:
System.Threading.Tasks.Task<Boolean>System.Threading.Tasks::Task<Boolean>^System.Threading.Tasks.Task<Boolean>System.Threading.Tasks.Task(Of Boolean)A Task<TResult><TResult><'TResult>(Of TResult) object that represents the current operation.
Return to top
Returns a task that performs an asynchronous request to check existence of the file.
Syntax
[DoesServiceRequestAttribute] public virtual Task<bool> ExistsAsync( FileRequestOptions options, OperationContext operationContext )
C++
public: [DoesServiceRequestAttribute] virtual Task<bool>^ ExistsAsync( FileRequestOptions^ options, OperationContext^ operationContext )
[<DoesServiceRequestAttribute>] abstract ExistsAsync : options:FileRequestOptions * operationContext:OperationContext -> Task<bool> [<DoesServiceRequestAttribute>] override ExistsAsync : options:FileRequestOptions * operationContext:OperationContext -> Task<bool>
<DoesServiceRequestAttribute> Public Overridable Function ExistsAsync ( options As FileRequestOptions, operationContext As OperationContext ) As Task(Of Boolean)
Parameters
- options
-
Type:
Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File::FileRequestOptions^Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File.FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
Return Value
Type: System.Threading.Tasks.Task<Boolean>System.Threading.Tasks::Task<Boolean>^System.Threading.Tasks.Task<Boolean>System.Threading.Tasks.Task(Of Boolean)A Task<TResult><TResult><'TResult>(Of TResult) object that represents the current operation.