Table of Contents

Class NexusOperationOptionsBase

Namespace
Temporalio.Client
Assembly
Temporalio.dll

Common settings for starting a standalone Nexus operation.

public abstract class NexusOperationOptionsBase : ICloneable
Inheritance
NexusOperationOptionsBase
Implements
Derived
Inherited Members

Remarks

WARNING: Standalone Nexus operations are experimental.

Properties

Id

Gets or sets the unique operation identifier. This is required.

public string? Id { get; set; }

Property Value

string

IdConflictPolicy

Gets or sets how already-running operations of the same ID are treated. Default is Fail.

public NexusOperationIdConflictPolicy IdConflictPolicy { get; set; }

Property Value

NexusOperationIdConflictPolicy

IdReusePolicy

Gets or sets whether to allow re-using an operation ID from a previously closed operation. Default is AllowDuplicate.

public NexusOperationIdReusePolicy IdReusePolicy { get; set; }

Property Value

NexusOperationIdReusePolicy

Rpc

Gets or sets RPC options for starting the operation.

public RpcOptions? Rpc { get; set; }

Property Value

RpcOptions

ScheduleToCloseTimeout

Gets or sets the schedule-to-close timeout for this operation.

public TimeSpan? ScheduleToCloseTimeout { get; set; }

Property Value

TimeSpan?

SearchAttributes

Gets or sets the search attributes for the operation.

public SearchAttributeCollection? SearchAttributes { get; set; }

Property Value

SearchAttributeCollection

Summary

Gets or sets a single-line fixed summary for this operation that may appear in UI/CLI. This can be in single-line Temporal markdown format.

public string? Summary { get; set; }

Property Value

string

Methods

Clone()

Creates a shallow copy of these options and copies the RPC options.

public virtual object Clone()

Returns

object

The copied options.