TaskObservableMethodBuilder.Start(TStateMachine) method¶
Defined in
Type: TaskObservableMethodBuilderSystem.Runtime.CompilerServices
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine
Summary: Begins running the builder with the associated state machine.
Type parameters
| Name | Description |
|---|---|
TStateMachine | The type of the state machine. |
Parameters
| Name | Type | Description |
|---|---|---|
ref stateMachine | TStateMachine | The state machine instance, passed by reference. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | stateMachine is null. |