Table of Contents

Class StartActivityInput

Namespace
Temporalio.Client.Interceptors
Assembly
Temporalio.dll
public record StartActivityInput : IEquatable<StartActivityInput>
Inheritance
StartActivityInput
Implements
Inherited Members

Remarks

WARNING: Standalone activities are experimental.

Constructors

StartActivityInput(string, IReadOnlyCollection<object?>, StartActivityOptions, IDictionary<string, Payload>?)

public StartActivityInput(string Activity, IReadOnlyCollection<object?> Args, StartActivityOptions Options, IDictionary<string, Payload>? Headers)

Parameters

Activity string

Activity type name to start.

Args IReadOnlyCollection<object>

Arguments for the activity.

Options StartActivityOptions

Options passed in to start.

Headers IDictionary<string, Payload>

Headers to include for activity start. These will be encoded using the codec before sent to the server.

Remarks

WARNING: Standalone activities are experimental.

Properties

Activity

Activity type name to start.

public string Activity { get; init; }

Property Value

string

Args

Arguments for the activity.

public IReadOnlyCollection<object?> Args { get; init; }

Property Value

IReadOnlyCollection<object>

Headers

Headers to include for activity start. These will be encoded using the codec before sent to the server.

public IDictionary<string, Payload>? Headers { get; init; }

Property Value

IDictionary<string, Payload>

Options

Options passed in to start.

public StartActivityOptions Options { get; init; }

Property Value

StartActivityOptions