Class NexusOperationOptions
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Options for starting a standalone Nexus operation. Id is required.
public class NexusOperationOptions : ICloneable
- Inheritance
-
NexusOperationOptions
- Implements
- Inherited Members
Remarks
WARNING: Standalone Nexus operations are experimental.
Constructors
NexusOperationOptions()
Initializes a new instance of the NexusOperationOptions class.
public NexusOperationOptions()
NexusOperationOptions(string)
Initializes a new instance of the NexusOperationOptions class.
public NexusOperationOptions(string id)
Parameters
idstringOperation ID.
Properties
Id
Gets or sets the unique operation identifier. This is required.
public string? Id { get; set; }
Property Value
IdConflictPolicy
Gets or sets how already-running operations of the same ID are treated. Default is Fail.
public NexusOperationIdConflictPolicy IdConflictPolicy { get; set; }
Property Value
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
Rpc
Gets or sets RPC options for starting the operation.
public RpcOptions? Rpc { get; set; }
Property Value
ScheduleToCloseTimeout
Gets or sets the schedule-to-close timeout for this operation.
public TimeSpan? ScheduleToCloseTimeout { get; set; }
Property Value
SearchAttributes
Gets or sets the search attributes for the operation.
public SearchAttributeCollection? SearchAttributes { get; set; }
Property Value
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
Methods
Clone()
Create a shallow copy of these options.
public virtual object Clone()
Returns
- object
A shallow copy of these options and any transitive options fields.