AsyncStateMachineAttribute(Type) Konstruktor

Definition

Initialisiert eine neue Instanz der AsyncStateMachineAttribute-Klasse.

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

Parameter

stateMachineType
Type

Das Typobjekt für den zugrunde liegenden Zustandsautomattyp, der zum Implementieren einer Zustandsautomatmethode verwendet wird.

Gilt für: