OperationState
struct OperationState
A helper structure passed to OperationInternal to indicate the current operation state. This structure must be
instantiated by one of its static methods, depending on the operation state:
Use Success when the operation has completed successfully.Use Failure when the operation has completed with failures.Use Pending when the operation has not completed yet.
public static OperationState Failure(Response rawResponse, RequestFailedException operationFailedException = null)
Instantiates an OperationState indicating the operation has completed with failures.
Instantiates an OperationState indicating the operation has not completed yet.
Instantiates an OperationState indicating the operation has completed successfully.