AsyncTaskMethodBuilderTResultSetStateMachine Method |
This API is preliminary and subject to change.
Associates the builder with the state machine it represents.
Namespace: System.Runtime.CompilerServicesAssembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public void SetStateMachine(
IAsyncStateMachine stateMachine
)
Public Sub SetStateMachine (
stateMachine As IAsyncStateMachine
)
public:
void SetStateMachine(
IAsyncStateMachine^ stateMachine
)
member SetStateMachine :
stateMachine : IAsyncStateMachine -> unit
Parameters
- stateMachine
- Type: System.Runtime.CompilerServicesIAsyncStateMachine
The heap-allocated state machine object.
Exceptions Version Information
.NET Framework
Supported in: 3.5
Threading Library
Supported in: 2.1
See Also