TaskState Enumeration

[C/C++]

enum FlowSshC_TaskState
{
  FlowSshC_TaskState_InProgress = 100,
  FlowSshC_TaskState_Completed  = 200,
  FlowSshC_TaskState_Failed     = 300
};

[C#]

public enum TaskState
{
  InProgress = 100,
  Completed  = 200,
  Failed     = 300
}

Members

  • InProgress: Operation in progress. The TaskSpecificStep of a progress handler might provide more information about the current step.
  • Completed: Operation completed successfully. In [C++/.NET] this state is not used explicitly; rather the corresponding OnSuccess handler is invoked.
  • Failed: Operation failed. In [C++/.NET] this state is not used explicitly; rather the corresponding OnError handler is invoked.

Remarks

This enumeration is used with progress handlers. It specifies the current state of a request.