Partager via


IStorageFileManagement.AbortCopyAsync Method

Definition

Overloads

AbortCopyAsync(CloudFile, String, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously abort the file copy operation

AbortCopyAsync(CloudFile, String, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

AbortCopyAsync(CloudFile, String, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously abort the file copy operation

public System.Threading.Tasks.Task AbortCopyAsync (Microsoft.Azure.Storage.File.CloudFile file, string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member AbortCopyAsync : Microsoft.Azure.Storage.File.CloudFile * string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AbortCopyAsync (file As CloudFile, copyId As String, accessCondition As AccessCondition, requestOptions As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

file
CloudFile

CloudFile object

copyId
String

Copy id

accessCondition
AccessCondition

Access condition

requestOptions
FileRequestOptions

File request options

operationContext
OperationContext

Operation context

cancellationToken
CancellationToken

Cancellation token

Returns

Return a task that asynchronously abort the file copy operation

Applies to

AbortCopyAsync(CloudFile, String, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task AbortCopyAsync (Microsoft.WindowsAzure.Storage.File.CloudFile file, string copyId, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.File.FileRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member AbortCopyAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AbortCopyAsync (file As CloudFile, copyId As String, accessCondition As AccessCondition, requestOptions As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

file
CloudFile
copyId
String
accessCondition
AccessCondition
requestOptions
FileRequestOptions
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to