System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult>.SetStateMachine Method

Associates the builder with the specified state machine.

Syntax

public void SetStateMachine (IAsyncStateMachine stateMachine)

Parameters

stateMachine
The state machine instance to associate with the builder.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0