IAsyncStateMachine Interface
Collapse the table of content
Expand the table of content

IAsyncStateMachine Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

public interface IAsyncStateMachine

The IAsyncStateMachine type exposes the following members.

Public methodMoveNextMoves the state machine to its next state.
Public methodSetStateMachineConfigures the state machine with a heap-allocated replica.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft