Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IAsyncOperationWithProgress
Collapse the table of content
Expand the table of content

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

ADD
Show:
© 2015 Microsoft