Bewerken

Delen via


MethodDebugInformation.GetStateMachineKickoffMethod Method

Definition

Returns the kickoff method of the state machine.

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

Returns

The kickoff method of the state machine, if the method is a MoveNext method of a state machine. Otherwise, it returns a handle whose IsNil property is true.

Applies to