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
Interceptors
Gets or sets the interceptors to intercept client calls.
public IReadOnlyCollection<IClientInterceptor>? Interceptors { get; set; }
Property Value
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
Namespace
Gets or sets the client namespace. Default is "default".
public string Namespace { get; set; }
Property Value
QueryRejectCondition
Gets or sets the query rejection condition. This can be overridden on a per-query basis.
public QueryRejectCondition? QueryRejectCondition { get; set; }
Property Value
Methods
Clone()
Create a shallow copy of these options.
public virtual object Clone()
Returns
- object
A shallow copy of these options.