Share via


LiveUploadOperation.StartAsync(CancellationToken, IProgress<LiveOperationProgress>) method

Starts an asynchronous upload operation, with the specified CancellationToken and progress event handler.

Syntax

Task<LiveOperationResult> StartAsync(
  CancellationToken cancellationToken, 
  IProgress<LiveOperationProgress> progressHandler
)
Function StartAsync(
  cancellationToken As CancellationToken,  
  progressHandler As IProgress<LiveOperationProgress> 
) As Task<LiveOperationResult>

Parameters

cancellationToken

progressHandler

Return value

Type: Task<LiveOperationResult>

The LiveOperationResult object with the populated session and result.

Remarks

StartAsync supports all paths and methods in the REST API.

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

See also

LiveUploadOperation