DurableTaskJobHostConfigurationExtensions.AddDurableClientFactory 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
AddDurableClientFactory(IServiceCollection) |
Adds the Durable Task extension to the provided IServiceCollection. |
AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>) |
Adds the Durable Task extension to the provided IServiceCollection. |
AddDurableClientFactory(IServiceCollection)
Adds the Durable Task extension to the provided IServiceCollection.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDurableClientFactory (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
static member AddDurableClientFactory : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDurableClientFactory (serviceCollection As IServiceCollection) As IServiceCollection
Parameters
- serviceCollection
- IServiceCollection
The IServiceCollection to configure.
Returns
Returns the provided IServiceCollection.
Applies to
AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)
Adds the Durable Task extension to the provided IServiceCollection.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDurableClientFactory (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Action<Microsoft.Azure.WebJobs.Extensions.DurableTask.Options.DurableClientOptions> optionsBuilder);
static member AddDurableClientFactory : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Azure.WebJobs.Extensions.DurableTask.Options.DurableClientOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDurableClientFactory (serviceCollection As IServiceCollection, optionsBuilder As Action(Of DurableClientOptions)) As IServiceCollection
Parameters
- serviceCollection
- IServiceCollection
The IServiceCollection to configure.
- optionsBuilder
- Action<DurableClientOptions>
Populate default configurations of DurableClientOptions to create Durable Clients.
Returns
Returns the provided IServiceCollection.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for