AsyncServiceSetupResult Enum

Represents the outcome of the setup phase of an AsyncService.

public enum AsyncServiceSetupResult

Fields

NameValueDescription
Successful 0 Setup succeeded (the task returned by AsyncService.SetupAsync completed with true). Service execution continues normally.
NotStarted 1 Setup was not started (the service was stopped without being started). Service execution is stopped.
Unsuccessful 2 Setup failed (the task returned by AsyncService.SetupAsync completed with false). Service execution is stopped.
Canceled 3 Setup was canceled (the task returned by AsyncService.SetupAsync was canceled). Service execution is stopped.
Faulted 4 Setup failed with an exception (the task returned by AsyncService.SetupAsync has faulted). Service execution is stopped. Only AsyncService.WaitUntilStartedAsync returns this value. AsyncService.StartAndWaitAsync throws the exception instead.