DefaultDurableTaskClientBuilder Class
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.
Default builder for IDurableTaskClientBuilder.
public class DefaultDurableTaskClientBuilder : Microsoft.DurableTask.Client.IDurableTaskClientBuilder
type DefaultDurableTaskClientBuilder = class
interface IDurableTaskClientBuilder
Public Class DefaultDurableTaskClientBuilder
Implements IDurableTaskClientBuilder
- Inheritance
-
DefaultDurableTaskClientBuilder
- Implements
Constructors
DefaultDurableTaskClientBuilder(String, IServiceCollection) |
Initializes a new instance of the DefaultDurableTaskClientBuilder class. |
Properties
BuildTarget |
Gets or sets the target of this builder. The provided type must derive fromDurableTaskClient. This is the type that will ultimately be built by Build(IServiceProvider). |
Name |
Gets the name of the client being built. |
Services |
Gets the service collection. |
Methods
Build(IServiceProvider) |
Builds this instance, yielding the built DurableTaskClient. |
Extension Methods
Configure(IDurableTaskClientBuilder, Action<DurableTaskClientOptions>) |
Configures the worker options for this builder. |
RegisterDirectly(IDurableTaskClientBuilder) |
Registers this builders DurableTaskClient directly to the service container. This will allow for directly importing DurableTaskClient. This can only be used for a single builder. Only the first call will register. |
UseBuildTarget(IDurableTaskClientBuilder, Type) |
Sets the build target for this builder. startup. |
UseBuildTarget<TTarget>(IDurableTaskClientBuilder) |
Sets the build target for this builder. startup. |
UseBuildTarget<TTarget,TOptions>(IDurableTaskClientBuilder) |
Sets the build target for this builder. Additionally populates default options values for the provided
|
UseGrpc(IDurableTaskClientBuilder, Channel) |
Configures the IDurableTaskClientBuilder to be a gRPC client. |
UseGrpc(IDurableTaskClientBuilder, Action<GrpcDurableTaskClientOptions>) |
Configures the IDurableTaskClientBuilder to be a gRPC client. |
UseGrpc(IDurableTaskClientBuilder, String) |
Configures the IDurableTaskClientBuilder to be a gRPC client. |
UseGrpc(IDurableTaskClientBuilder) |
Configures the IDurableTaskClientBuilder to be a gRPC client. |