Assembly: Phoenix.ComponentAPI.dll
RequireValidStatus(RunStatus, string)
Given a run status, check if it is a valid status for a run result. If it is valid, return the provided status. Otherwise, throw anSystem.ArgumentOutOfRangeException.
Parameters
candidate RunStatus
The candidate status.
paramName string
The name of the variable containing the status.
Returns
RunStatus The value ofcandidate if the status is valid.