Compartilhar via


IDurableTaskClientBuilder Interface

Definition

A builder for configuring and adding a DurableTaskClient to the service container.

public interface IDurableTaskClientBuilder
type IDurableTaskClientBuilder = interface
Public Interface IDurableTaskClientBuilder
Derived

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 TOptions.

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.

Applies to