Class TemporalClient
Client for a Temporal namespace.
Namespace: Temporalio.Client
Assembly: Temporalio.dll
Syntax
public class TemporalClient : object, ITemporalClient, IWorkerClient
Constructors
TemporalClient(ITemporalConnection, TemporalClientOptions)
Initializes a new instance of the TemporalClient class from an existing connection.
Declaration
public TemporalClient(ITemporalConnection connection, TemporalClientOptions options)
Parameters
Type | Name | Description |
---|---|---|
ITemporalConnection | connection | Connection for this client. |
TemporalClientOptions | options | Options for this client. |
Properties
BridgeClientProvider
Gets the bridge client provider for this client.
Declaration
public IBridgeClientProvider BridgeClientProvider { get; }
Property Value
Type | Description |
---|---|
IBridgeClientProvider |
Connection
Gets the connection associated with this client.
Declaration
public ITemporalConnection Connection { get; }
Property Value
Type | Description |
---|---|
ITemporalConnection |
DataConverter
Gets the data converter for this client.
Declaration
public DataConverter DataConverter { get; }
Property Value
Type | Description |
---|---|
Temporalio.Converters.DataConverter |
Namespace
Gets the namespace for this client.
Declaration
public string Namespace { get; }
Property Value
Type | Description |
---|---|
String |