Language

FunctionsApplicationBuilderExtensions.ConfigureDurableWorkflows Method

Definition

Configures durable workflow support for the specified Azure Functions application builder.

public static Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder ConfigureDurableWorkflows(this Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder builder, Action<Microsoft.Agents.AI.DurableTask.Workflows.DurableWorkflowOptions> configure);
static member ConfigureDurableWorkflows : Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder * Action<Microsoft.Agents.AI.DurableTask.Workflows.DurableWorkflowOptions> -> Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder
<Extension()>
Public Function ConfigureDurableWorkflows (builder As FunctionsApplicationBuilder, configure As Action(Of DurableWorkflowOptions)) As FunctionsApplicationBuilder

Parameters

builder
Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder

The Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder instance to configure for durable workflows.

configure
Action<DurableWorkflowOptions>

An action that configures the DurableWorkflowOptions, allowing customization of durable workflow behavior.

Returns

Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder

The updated Microsoft.Azure.Functions.Worker.Builder.FunctionsApplicationBuilder instance, enabling method chaining.

Applies to