Table of Contents

Class ActivityCancelOptions

Namespace
Temporalio.Client
Assembly
Temporalio.dll

Options for canceling a standalone activity.

public class ActivityCancelOptions : ICloneable
Inheritance
ActivityCancelOptions
Implements
Inherited Members

Remarks

WARNING: Standalone activities are experimental.

Properties

Reason

Gets or sets the reason for the cancellation request.

public string? Reason { get; set; }

Property Value

string

Rpc

Gets or sets RPC options for canceling the activity.

public RpcOptions? Rpc { get; set; }

Property Value

RpcOptions

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.