Table of Contents

Class TemporalClientConnectOptions

Namespace
Temporalio.Client
Assembly
Temporalio.dll
public class TemporalClientConnectOptions : TemporalConnectionOptions, ICloneable
Inheritance
TemporalClientConnectOptions
Implements
Derived
Inherited Members

Remarks

This is essentially a combination of TemporalConnectionOptions and TemporalClientOptions.

Constructors

TemporalClientConnectOptions()

Initializes a new instance of the TemporalClientConnectOptions class with default options.

public TemporalClientConnectOptions()

TemporalClientConnectOptions(string)

Initializes a new instance of the TemporalClientConnectOptions class with default options and a target host.

public TemporalClientConnectOptions(string targetHost)

Parameters

targetHost string

Target host to connect to.

See Also

Properties

DataConverter

Gets or sets the client 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

ToClientOptions()

Create client options from a subset of these options for use in TemporalClient(ITemporalConnection, TemporalClientOptions).

public TemporalClientOptions ToClientOptions()

Returns

TemporalClientOptions

Client options.