CielaSpike.Task.Cancel C# (CSharp) Méthode

Cancel() public méthode

Cancel the task till next iteration;
public Cancel ( ) : void
Résultat void
        public void Cancel()
        {
            if (State == TaskState.Running)
            {
                GotoState(RunningState.CancellationRequested);
            }
        }