GrpcDurableTaskClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GrpcDurableTaskClient(String, GrpcDurableTaskClientOptions, ILogger) |
Initializes a new instance of the GrpcDurableTaskClient class. |
GrpcDurableTaskClient(String, IOptionsMonitor<GrpcDurableTaskClientOptions>, ILogger<GrpcDurableTaskClient>) |
Initializes a new instance of the GrpcDurableTaskClient class. |
GrpcDurableTaskClient(String, GrpcDurableTaskClientOptions, ILogger)
Initializes a new instance of the GrpcDurableTaskClient class.
public GrpcDurableTaskClient (string name, Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClientOptions options, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClient : string * Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClientOptions * Microsoft.Extensions.Logging.ILogger -> Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClient
Public Sub New (name As String, options As GrpcDurableTaskClientOptions, logger As ILogger)
Parameters
- name
- String
The name of the client.
- options
- GrpcDurableTaskClientOptions
The gRPC client options.
- logger
- ILogger
The logger.
Applies to
GrpcDurableTaskClient(String, IOptionsMonitor<GrpcDurableTaskClientOptions>, ILogger<GrpcDurableTaskClient>)
Initializes a new instance of the GrpcDurableTaskClient class.
[Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructor]
public GrpcDurableTaskClient (string name, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClientOptions> options, Microsoft.Extensions.Logging.ILogger<Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClient> logger);
[<Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructor>]
new Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClient : string * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClientOptions> * Microsoft.Extensions.Logging.ILogger<Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClient> -> Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClient
Public Sub New (name As String, options As IOptionsMonitor(Of GrpcDurableTaskClientOptions), logger As ILogger(Of GrpcDurableTaskClient))
Parameters
- name
- String
The name of the client.
The gRPC client options.
- logger
- ILogger<GrpcDurableTaskClient>
The logger.
- Attributes