AsyncIteratorStateMachineAttribute(Type) 构造函数

定义

初始化 AsyncIteratorStateMachineAttribute 类的新实例。

public:
 AsyncIteratorStateMachineAttribute(Type ^ stateMachineType);
public AsyncIteratorStateMachineAttribute (Type stateMachineType);
new System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute : Type -> System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute
Public Sub New (stateMachineType As Type)

参数

stateMachineType
Type

用于实现状态机方法的基础状态机类型的类型对象。

适用于