Udostępnij za pośrednictwem


IAsyncAction.GetResults Method

Definition

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.

Applies to

See also