AsyncIteratorStateMachineAttribute public sealed class AsyncIteratorStateMachineAttribute : StateMachineAttribute Indicates whether a method is an asynchronous iterator. Documentation Code public AsyncIteratorStateMachineAttribute(Type stateMachineType) Initializes a new instance of the AsyncIteratorStateMachineAttribute class.