Dela via


CloudFile.EndStartCopy(IAsyncResult) Method

Definition

Ends an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

public virtual string EndStartCopy (IAsyncResult asyncResult);
abstract member EndStartCopy : IAsyncResult -> string
override this.EndStartCopy : IAsyncResult -> string
Public Overridable Function EndStartCopy (asyncResult As IAsyncResult) As String

Parameters

asyncResult
IAsyncResult

An IAsyncResult that references the pending asynchronous operation.

Returns

The copy ID associated with the copy operation.

Remarks

This method fetches the file's ETag, last-modified time, and part of the copy state. The copy ID and copy status fields are fetched, and the rest of the copy state is cleared.

Applies to