Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAsyncOperationWithProgress interface

Represents an asynchronous operation that returns a result and reports progress.

Members

The IAsyncOperationWithProgress<TResult,TProgress> interface inherits from the IUnknown interface. IAsyncOperationWithProgress also has these types of members:

Methods

The IAsyncOperationWithProgress<TResult,TProgress> interface has these methods.

MethodDescription
get_Completed

Gets the method that is called when the asynchronous operation completes.

get_Progress

Gets the method that is called when the asynchronous operation reports progress.

GetResults

Gets the outcome of the asynchronous operation.

put_Completed

Sets the method that is called when the asynchronous operation completes.

put_Progress

Sets the method that is called when the asynchronous operation reports progress.

 

Remarks

The IAsyncOperationWithProgress<TResult,TProgress> interface represents an asynchronous operation that returns a result and reports progress notifications.

When the operation reports progress, the IAsyncOperationProgressHandler<TResult,TProgress> specified by get_Progress is invoked.

When the operation completes, the IAsyncOperationWithProgressCompletedHandler<TResult,TProgress> specified by get_Completed is invoked.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h

See also

IAsyncOperationProgressHandler<TResult,TProgress>
IAsyncOperationWithProgressCompletedHandler<TResult,TProgress>

 

 

Community Additions

Show:
© 2014 Microsoft