IAsyncActionWithProgress<TProgress>.GetResults Method


Returns the results of the action.

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


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