Compartilhar via


CloudAdapter Constructor

Definition

public CloudAdapter(Microsoft.Agents.Builder.IChannelServiceClientFactory channelServiceClientFactory, Microsoft.Agents.Hosting.AspNetCore.BackgroundQueue.IActivityTaskQueue activityTaskQueue, Microsoft.Extensions.Logging.ILogger<Microsoft.Agents.Hosting.AspNetCore.CloudAdapter> logger = default, Microsoft.Agents.Hosting.AspNetCore.AdapterOptions options = default, Microsoft.Agents.Builder.IMiddleware[] middlewares = default, Microsoft.Extensions.Configuration.IConfiguration config = default);
new Microsoft.Agents.Hosting.AspNetCore.CloudAdapter : Microsoft.Agents.Builder.IChannelServiceClientFactory * Microsoft.Agents.Hosting.AspNetCore.BackgroundQueue.IActivityTaskQueue * Microsoft.Extensions.Logging.ILogger<Microsoft.Agents.Hosting.AspNetCore.CloudAdapter> * Microsoft.Agents.Hosting.AspNetCore.AdapterOptions * Microsoft.Agents.Builder.IMiddleware[] * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Agents.Hosting.AspNetCore.CloudAdapter
Public Sub New (channelServiceClientFactory As IChannelServiceClientFactory, activityTaskQueue As IActivityTaskQueue, Optional logger As ILogger(Of CloudAdapter) = Nothing, Optional options As AdapterOptions = Nothing, Optional middlewares As IMiddleware() = Nothing, Optional config As IConfiguration = Nothing)

Parameters

channelServiceClientFactory
IChannelServiceClientFactory
activityTaskQueue
IActivityTaskQueue
options
AdapterOptions

Defaults to Async enabled and 60 second shutdown delay timeout

middlewares
IMiddleware[]

Exceptions

Applies to