Class HandleQueryInput
- Namespace
- Temporalio.Worker.Interceptors
- Assembly
- Temporalio.dll
Input for HandleQuery(HandleQueryInput).
public record HandleQueryInput : IEquatable<HandleQueryInput>
- Inheritance
-
HandleQueryInput
- Implements
- Inherited Members
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Constructors
HandleQueryInput(string, string, WorkflowQueryDefinition, object?[], IReadOnlyDictionary<string, Payload>?)
Input for HandleQuery(HandleQueryInput).
public HandleQueryInput(string Id, string Query, WorkflowQueryDefinition Definition, object?[] Args, IReadOnlyDictionary<string, Payload>? Headers)
Parameters
Id
stringQuery ID.
Query
stringQuery name.
Definition
WorkflowQueryDefinitionQuery definition.
Args
object[]Query arguments.
Headers
IReadOnlyDictionary<string, Payload>Query headers.
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Properties
Args
Query arguments.
public object?[] Args { get; init; }
Property Value
- object[]
Definition
Query definition.
public WorkflowQueryDefinition Definition { get; init; }
Property Value
Headers
Query headers.
public IReadOnlyDictionary<string, Payload>? Headers { get; init; }
Property Value
Id
Query ID.
public string Id { get; init; }
Property Value
Query
Query name.
public string Query { get; init; }