System.Runtime.CompilerServices.AsyncStateMachineAttribute public sealed class AsyncStateMachineAttribute : StateMachineAttribute Identities the async state machine type for this method. Documentation public AsyncStateMachineAttribute(Type stateMachineType) Initializes the attribute.