Udostępnij za pośrednictwem


DurableClientFactory Class

Definition

Factory class to create Durable Client to start works outside an azure function context.

public class DurableClientFactory : IDisposable, Microsoft.Azure.WebJobs.Extensions.DurableTask.ContextImplementations.IDurableClientFactory
type DurableClientFactory = class
    interface IDurableClientFactory
    interface IDisposable
Public Class DurableClientFactory
Implements IDisposable, IDurableClientFactory
Inheritance
DurableClientFactory
Implements

Constructors

DurableClientFactory(IOptions<DurableClientOptions>, IOptions<DurableTaskOptions>, IDurabilityProviderFactory, ILoggerFactory, IMessageSerializerSettingsFactory)

Initializes a new instance of the DurableClientFactory class.

Methods

CreateClient()

Gets a IDurableClient using configuration from a DurableClientOptions instance.

CreateClient(DurableClientOptions)

Gets a IDurableClient using configuration from a DurableClientOptions instance.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to