IAsyncAction.GetResults Method
Definition
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();
function getResults()
Public Sub GetResults ()
Remarks
The interface definition of this method has a void return, and void is what methods that use the default IAsyncAction behavior will return after completing, when an awaitable syntax is used.
If you want the method to return a result you probably should be using IAsyncOperation<TResult> instead. For IAsyncAction, any added logic should be in the Completed implementation, not GetResults.