CloudAdapter Constructor
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.
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
- logger
- ILogger<CloudAdapter>
- options
- AdapterOptions
Defaults to Async enabled and 60 second shutdown delay timeout
- middlewares
- IMiddleware[]
- config
- IConfiguration