TeamsBotFrameworkHttpAdapter 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.
Creates a new instance of the TeamsBotFrameworkHttpAdapter class.
public TeamsBotFrameworkHttpAdapter(Microsoft.Teams.Core.BotApplication teamsBotApplication, Microsoft.AspNetCore.Http.IHttpContextAccessor? httpContextAccessor = default, Microsoft.Extensions.Logging.ILogger? logger = default);
new Microsoft.Teams.Apps.BotBuilder.TeamsBotFrameworkHttpAdapter : Microsoft.Teams.Core.BotApplication * Microsoft.AspNetCore.Http.IHttpContextAccessor * Microsoft.Extensions.Logging.ILogger -> Microsoft.Teams.Apps.BotBuilder.TeamsBotFrameworkHttpAdapter
Public Sub New (teamsBotApplication As BotApplication, Optional httpContextAccessor As IHttpContextAccessor = Nothing, Optional logger As ILogger = Nothing)
Parameters
- teamsBotApplication
- BotApplication
The Teams bot application instance.
- httpContextAccessor
- IHttpContextAccessor
The HTTP context accessor.
- logger
- ILogger
The logger instance.