MethodDebugInformation.GetStateMachineKickoffMethod 方法

定義

傳回狀態機器的啟動方法。

public:
 System::Reflection::Metadata::MethodDefinitionHandle GetStateMachineKickoffMethod();
public System.Reflection.Metadata.MethodDefinitionHandle GetStateMachineKickoffMethod ();
member this.GetStateMachineKickoffMethod : unit -> System.Reflection.Metadata.MethodDefinitionHandle
Public Function GetStateMachineKickoffMethod () As MethodDefinitionHandle

傳回

如果方法是 MoveNext 狀態機器的方法,則為狀態機器的啟動方法。 否則,它會傳回其屬性為 的IsNiltrue句柄。

適用於