Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Runtime.​CompilerServices.​IAsyncStateMachine

Assembly: System.Runtime

Represents state machines that are generated for asynchronous methods. This type is intended for compiler use only.

Methods

public void
MoveNext​()
Moves the state machine to its next state.
public void
SetStateMachine​(IAsyncStateMachine stateMachine)
stateMachine The heap-allocated replica.
Configures the state machine with a heap-allocated replica.