Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IAsyncActionWithProgress<TProgress>.GetResults Method

Definition

Namespace:
Windows.Foundation

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Returns the results of the action.

public:
 void GetResults();
void GetResults();
public void GetResults();
Public Sub GetResults ()

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.

Applies to

See also


Feedback

Was this page helpful?