SetStateMachine Method
Collapse the table of content
Expand the table of content

IAsyncStateMachine.SetStateMachine Method

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

Configures the state machine with a heap-allocated replica.

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

void SetStateMachine(
	IAsyncStateMachine stateMachine
)

Parameters

stateMachine
Type: System.Runtime.CompilerServices.IAsyncStateMachine
The heap-allocated replica.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft