Windows Dev Center

IAsyncActionWithProgress<TProgress>.GetResults method

Returns the results of the action.

Syntax


void GetResults()

Parameters

This method has no parameters.

Remarks

The interface definition of this method has a void return, and void is what methods that use the default IAsyncActionWithProgress<TProgress> behavior will return after completing, when a language-specific awaitable syntax is used.

If you want the method to return a result you probably should be using IAsyncOperationWithProgress<TResult,TProgress> instead. For IAsyncActionWithProgress<TProgress>, any added logic should be in the Completed implementation, not GetResults.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

IAsyncActionWithProgress<TProgress>

 

 

Show:
© 2015 Microsoft