Table of Contents

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

rawInfo NexusOperationExecutionListInfo

Raw proto list info.

clientNamespace string

Client 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

DateTime?

Endpoint

Gets the endpoint name.

public string Endpoint { get; }

Property Value

string

ExecutionDuration

Gets the total execution duration if the operation is closed.

public TimeSpan? ExecutionDuration { get; }

Property Value

TimeSpan?

Namespace

Gets the namespace.

public string Namespace { get; }

Property Value

string

Operation

Gets the operation name.

public string Operation { get; }

Property Value

string

OperationId

Gets the operation ID.

public string OperationId { get; }

Property Value

string

RunId

Gets the operation run ID.

public string? RunId { get; }

Property Value

string

ScheduledTime

Gets when the operation was originally scheduled.

public DateTime ScheduledTime { get; }

Property Value

DateTime

Service

Gets the service name.

public string Service { get; }

Property Value

string

StateTransitionCount

Gets the number of state transitions.

public long StateTransitionCount { get; }

Property Value

long

Status

Gets the status of the operation.

public NexusOperationExecutionStatus Status { get; }

Property Value

NexusOperationExecutionStatus

TypedSearchAttributes

Gets the search attributes on the operation.

public SearchAttributeCollection TypedSearchAttributes { get; }

Property Value

SearchAttributeCollection

Remarks

This is lazily converted on first access.