Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

SetStateMachine

abstract virtual func SetStateMachine(stateMachine: AsyncStateMachine) -> ()

Declaring type: AsyncStateMachine
Module: System.Runtime.CompilerServices
Assembly: System.Runtime.dll
Source file: Tasks.rvn

Defined by AsyncStateMachine.SetStateMachine · Required implementation (no default).

Interface implementation: Required implementation (no default).

Associates a heap-owned state with its shared builder.

Parameters

Name Type Description
stateMachine AsyncStateMachine The retained state owner.

Return value

()