Class NexusOperationExecution
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Representation of a standalone Nexus operation execution from a list call.
public class NexusOperationExecution
- Inheritance
-
NexusOperationExecution
- Derived
- Inherited Members
Remarks
WARNING: Standalone Nexus operations are experimental.
Constructors
NexusOperationExecution(NexusOperationExecutionListInfo, string)
Initializes a new instance of the NexusOperationExecution class from list info.
protected NexusOperationExecution(NexusOperationExecutionListInfo rawInfo, string clientNamespace)
Parameters
rawInfoNexusOperationExecutionListInfoRaw proto list info.
clientNamespacestringClient namespace.
Remarks
WARNING: This constructor may be mutated in backwards incompatible ways.
Properties
CloseTime
Gets when the operation was closed if in a terminal state.
public DateTime? CloseTime { get; }
Property Value
Endpoint
Gets the endpoint name.
public string Endpoint { get; }
Property Value
ExecutionDuration
Gets the total execution duration if the operation is closed.
public TimeSpan? ExecutionDuration { get; }
Property Value
Namespace
Gets the namespace.
public string Namespace { get; }
Property Value
Operation
Gets the operation name.
public string Operation { get; }
Property Value
OperationId
Gets the operation ID.
public string OperationId { get; }
Property Value
RunId
Gets the operation run ID.
public string? RunId { get; }
Property Value
ScheduledTime
Gets when the operation was originally scheduled.
public DateTime ScheduledTime { get; }
Property Value
Service
Gets the service name.
public string Service { get; }
Property Value
StateTransitionCount
Gets the number of state transitions.
public long StateTransitionCount { get; }
Property Value
Status
Gets the status of the operation.
public NexusOperationExecutionStatus Status { get; }
Property Value
TypedSearchAttributes
Gets the search attributes on the operation.
public SearchAttributeCollection TypedSearchAttributes { get; }
Property Value
Remarks
This is lazily converted on first access.