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