Table of Contents

Method StartRunningAsync

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

StartRunningAsync(RunnerStatus)

Protected. Asynchronously begins background execution of the runner if it has not been started yet, and in that case sets the runner's Status property to the specified value.

protected Task<bool> StartRunningAsync(RunnerStatus NewStatus = RunnerStatus.Stalled)

Parameters

NewStatus RunnerStatus

The new Status property value to be set.

Returns

Task<bool>

The task that is used to observe an outcome of an asynchronous start of a background execution. If the task completes successfully its result will be set according to the same rules as a result of StartRunning method.