LiveUploadOperation.AttachAsync(CancellationToken, IProgress<LiveOperationProgress>) method
Attach to the pending upload operation with the specified CancellationToken and progress event handler, in order to let the operation run to the end and receive results.
Syntax
public Task<LiveOperationResult> AttachAsync(
CancellationToken cancellationToken,
IProgress<LiveOperationProgress> progressHandler
)
Public Function AttachAsync(
cancellationToken As CancellationToken,
progressHandler As IProgress<LiveOperationProgress>
) As Task<LiveOperationResult>
Parameters
cancellationToken |
progressHandler |
Return value
Type: Task<LiveOperationResult>
The data returned by the API service for the get operation.
Remarks
This method should be invoked on operations you get from LiveConnectClient.GetCurrentBackgroundUploadsAsync method call.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8.1 |
Namespace |
Microsoft.Live |
Assembly |
Microsoft.Live.dll |