Delen via


IAsyncOperation<TResult>.GetResults Method

Definition

Returns the results of the operation.

public:
 TResult GetResults();
TResult GetResults();
public TResult GetResults();
Public Function GetResults () As TResult

Returns

TResult

The results of the operation.

Remarks

Notes to implementers

Implementers should return the specific value that the operation type should return to callers upon completion. When the method that uses the custom operation type returns, while using an awaitable syntax (the usual usage) this provides the return value of the operation to the method caller.

Applies to

See also