AsyncTaskMethodBuilder.Start<TStateMachine>(TStateMachine) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins running the builder with the associated state machine.
public:
generic <typename TStateMachine>
where TStateMachine : System::Runtime::CompilerServices::IAsyncStateMachine void Start(TStateMachine % stateMachine);
public void Start<TStateMachine> (ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine;
member this.Start : 'StateMachine -> unit (requires 'StateMachine :> System.Runtime.CompilerServices.IAsyncStateMachine)
Public Sub Start(Of TStateMachine As IAsyncStateMachine) (ByRef stateMachine As TStateMachine)
Type Parameters
- TStateMachine
The type of the state machine.
Parameters
- stateMachine
- TStateMachine
The state machine instance, passed by reference.
Exceptions
stateMachine
is null
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.