Table of Contents

Class TemporalClientOptions

Namespace
Temporalio.Client
Assembly
Temporalio.dll

Options for a TemporalClient.

public class TemporalClientOptions : ICloneable
Inheritance
TemporalClientOptions
Implements
Inherited Members

Properties

DataConverter

Gets or sets the data converter. Default is Default.

public DataConverter DataConverter { get; set; }

Property Value

DataConverter

Interceptors

Gets or sets the interceptors to intercept client calls.

public IReadOnlyCollection<IClientInterceptor>? Interceptors { get; set; }

Property Value

IReadOnlyCollection<IClientInterceptor>

Remarks

Earlier interceptors in the list wrap later ones. If the interceptor in the list also implements IWorkerInterceptor, it will automatically be used when the worker is created.

LoggerFactory

Gets or sets the logging factory used by loggers in Temporal.

public ILoggerFactory LoggerFactory { get; set; }

Property Value

ILoggerFactory

Namespace

Gets or sets the client namespace. Default is "default".

public string Namespace { get; set; }

Property Value

string

QueryRejectCondition

Gets or sets the query rejection condition. This can be overridden on a per-query basis.

public QueryRejectCondition? QueryRejectCondition { get; set; }

Property Value

QueryRejectCondition?

Methods

Clone()

Create a shallow copy of these options.

public virtual object Clone()

Returns

object

A shallow copy of these options.