Class WorkflowQueryRejectedException
- Namespace
- Temporalio.Exceptions
- Assembly
- Temporalio.dll
Thrown when a query is rejected by the server due to bad workflow status.
public class WorkflowQueryRejectedException : TemporalException, ISerializable
- Inheritance
-
WorkflowQueryRejectedException
- Implements
- Inherited Members
Constructors
WorkflowQueryRejectedException(WorkflowExecutionStatus)
Initializes a new instance of the WorkflowQueryRejectedException class.
public WorkflowQueryRejectedException(WorkflowExecutionStatus workflowStatus)
Parameters
workflowStatus
WorkflowExecutionStatusWorkflow status causing rejection.
Properties
WorkflowStatus
Gets the workflow status causing this rejection.
public WorkflowExecutionStatus WorkflowStatus { get; }