DurableTaskBuilderExtensions.UseBuildTarget Method
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
UseBuildTarget(IDurableTaskClientBuilder, Type) |
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
|
UseBuildTarget<TTarget>(IDurableTaskClientBuilder) |
Sets the build target for this builder. startup. |
UseBuildTarget(IDurableTaskClientBuilder, Type)
Sets the build target for this builder. startup.
public static Microsoft.DurableTask.Client.IDurableTaskClientBuilder UseBuildTarget (this Microsoft.DurableTask.Client.IDurableTaskClientBuilder builder, Type target);
static member UseBuildTarget : Microsoft.DurableTask.Client.IDurableTaskClientBuilder * Type -> Microsoft.DurableTask.Client.IDurableTaskClientBuilder
<Extension()>
Public Function UseBuildTarget (builder As IDurableTaskClientBuilder, target As Type) As IDurableTaskClientBuilder
Parameters
- builder
- IDurableTaskClientBuilder
The builder to set the builder target for.
- target
- Type
The type of target to set.
Returns
The original builder, for call chaining.
Applies to
UseBuildTarget<TTarget,TOptions>(IDurableTaskClientBuilder)
Sets the build target for this builder. Additionally populates default options values for the provided
TOptions
.
public static Microsoft.DurableTask.Client.IDurableTaskClientBuilder UseBuildTarget<TTarget,TOptions> (this Microsoft.DurableTask.Client.IDurableTaskClientBuilder builder) where TTarget : Microsoft.DurableTask.Client.DurableTaskClient where TOptions : Microsoft.DurableTask.Client.DurableTaskClientOptions;
static member UseBuildTarget : Microsoft.DurableTask.Client.IDurableTaskClientBuilder -> Microsoft.DurableTask.Client.IDurableTaskClientBuilder (requires 'arget :> Microsoft.DurableTask.Client.DurableTaskClient and 'Options :> Microsoft.DurableTask.Client.DurableTaskClientOptions)
<Extension()>
Public Function UseBuildTarget(Of TTarget As DurableTaskClient, TOptions As DurableTaskClient) (builder As IDurableTaskClientBuilder) As IDurableTaskClientBuilder
Type Parameters
- TTarget
The builder target type.
- TOptions
The options for this builder.
Parameters
- builder
- IDurableTaskClientBuilder
The builder to set the builder target for.
Returns
The original builder, for call chaining.
Applies to
UseBuildTarget<TTarget>(IDurableTaskClientBuilder)
Sets the build target for this builder. startup.
public static Microsoft.DurableTask.Client.IDurableTaskClientBuilder UseBuildTarget<TTarget> (this Microsoft.DurableTask.Client.IDurableTaskClientBuilder builder) where TTarget : Microsoft.DurableTask.Client.DurableTaskClient;
static member UseBuildTarget : Microsoft.DurableTask.Client.IDurableTaskClientBuilder -> Microsoft.DurableTask.Client.IDurableTaskClientBuilder (requires 'arget :> Microsoft.DurableTask.Client.DurableTaskClient)
<Extension()>
Public Function UseBuildTarget(Of TTarget As DurableTaskClient) (builder As IDurableTaskClientBuilder) As IDurableTaskClientBuilder
Type Parameters
- TTarget
The builder target type.
Parameters
- builder
- IDurableTaskClientBuilder
The builder to set the builder target for.
Returns
The original builder, for call chaining.