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.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro