AsyncTaskMethodBuilderTResultSetResult Method |
This API is preliminary and subject to change.
Namespace: System.Runtime.CompilerServicesAssembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public void SetResult(
TResult result
)
Public Sub SetResult (
result As TResult
)
public:
void SetResult(
TResult result
)
member SetResult :
result : 'TResult -> unit
Parameters
- result
- Type: TResult
The result to use to complete the task.
Exceptions Version Information
.NET Framework
Supported in: 3.5
Threading Library
Supported in: 2.1
See Also