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