Table of Contents

Class WithStartWorkflowOperation<THandle>

Namespace
Temporalio.Client
Assembly
Temporalio.dll

Representation of a workflow start operation to be used in WorkflowStartUpdateWithStartOptions and WorkflowUpdateWithStartOptions for update with start calls.

public sealed class WithStartWorkflowOperation<THandle> : WithStartWorkflowOperation, ICloneable where THandle : WorkflowHandle

Type Parameters

THandle

Workflow handle type.

Inheritance
WithStartWorkflowOperation<THandle>
Implements
Inherited Members

Remarks

WARNING: Workflow update with start is experimental and APIs may change.

Methods

Clone()

Create a shallow copy of this operation.

public override object Clone()

Returns

object

A shallow copy of these options and any transitive options fields. But it will not clone the arguments, headers, nor will it clone the underlying promise that is fulfilled when the workflow has started.

GetHandleAsync()

Get the started workflow handle, waiting if needed. The method call directly will never fail, but the task may with exceptions documented below.

public Task<THandle> GetHandleAsync()

Returns

Task<THandle>

Task for the successfully completed handle.

Remarks

WARNING: Workflow update with start is experimental and APIs may change.

Exceptions

ArgumentException

Invalid run call or options.

WorkflowAlreadyStartedException

Workflow was already started according to ID reuse and conflict policy.

RpcException

Server-side error.