InvalidCloudFileDirectory.DeleteIfExistsAsync 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
DeleteIfExistsAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)
public override System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
override this.DeleteIfExistsAsync : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overrides Function DeleteIfExistsAsync (accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)
Parameters
- accessCondition
- AccessCondition
- options
- FileRequestOptions
- operationContext
- OperationContext
- cancellationToken
- CancellationToken
Returns
Applies to
DeleteIfExistsAsync(AccessCondition, FileRequestOptions, OperationContext)
public override System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
override this.DeleteIfExistsAsync : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
Public Overrides Function DeleteIfExistsAsync (accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Task(Of Boolean)
Parameters
- accessCondition
- AccessCondition
- options
- FileRequestOptions
- operationContext
- OperationContext
Returns
Applies to
DeleteIfExistsAsync()
DeleteIfExistsAsync(CancellationToken)
public override System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (System.Threading.CancellationToken cancellationToken);
override this.DeleteIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overrides Function DeleteIfExistsAsync (cancellationToken As CancellationToken) As Task(Of Boolean)
Parameters
- cancellationToken
- CancellationToken