Windows apps
Collapse the table of content
Expand the table of content
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.

IAsyncActionWithProgress<TProgress> interface

Represents an asynchronous action that reports progress.

Template parameters

TProgress

The type that encapsulates progress reports from the asynchronous action.

Members

The IAsyncActionWithProgress<TProgress> interface inherits from IAsyncAction. IAsyncActionWithProgress also has these types of members:

Methods

The IAsyncActionWithProgress<TProgress> interface has these methods.

MethodDescription
get_Completed

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

get_Progress

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

GetResults

Gets the outcome of an asynchronous action.

put_Completed

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

put_Progress

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

 

Remarks

The IAsyncActionWithProgress<TProgress> interface represents an asynchronous action that reports progress notifications and does not return a result.

When the action reports progress, the IAsyncActionProgressHandler<TProgress> specified by get_Progress is invoked.

When the action completes, the AsyncActionCompletedHandler specified by get_Completed is invoked, and this is the only result from the action.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h

See also

IAsyncAction
IAsyncActionProgressHandler<TProgress>

 

 

Show:
© 2017 Microsoft