共用方式為


BotFrameworkHttpAdapterBase 建構函式

定義

多載

BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>)

初始化 BotFrameworkHttpAdapterBase 類別的新執行個體。

BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapterBase>)

初始化 BotFrameworkHttpAdapterBase 類別的新執行個體。

BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger)

初始化 BotFrameworkHttpAdapterBase 類別的新執行個體。

BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapterBase>)

初始化 BotFrameworkHttpAdapterBase 類別的新執行個體。

public BotFrameworkHttpAdapterBase (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider = default, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> logger = default);
new Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> -> Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase
Public Sub New (Optional credentialProvider As ICredentialProvider = Nothing, Optional channelProvider As IChannelProvider = Nothing, Optional logger As ILogger(Of BotFrameworkHttpAdapterBase) = Nothing)

參數

credentialProvider
ICredentialProvider

認證提供者。

channelProvider
IChannelProvider

通道提供者。

logger
ILogger<BotFrameworkHttpAdapterBase>

此配接器應該使用的 ILogger 實作。

適用於

BotFrameworkHttpAdapterBase(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapterBase>)

初始化 BotFrameworkHttpAdapterBase 類別的新執行個體。

public BotFrameworkHttpAdapterBase (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider, System.Net.Http.HttpClient httpClient, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> logger);
new Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase> -> Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase
Public Sub New (credentialProvider As ICredentialProvider, channelProvider As IChannelProvider, httpClient As HttpClient, logger As ILogger(Of BotFrameworkHttpAdapterBase))

參數

credentialProvider
ICredentialProvider

認證提供者。

channelProvider
IChannelProvider

通道提供者。

httpClient
HttpClient

HTTP 用戶端。

logger
ILogger<BotFrameworkHttpAdapterBase>

此配接器應該使用的 ILogger 實作。

適用於

BotFrameworkHttpAdapterBase(ICredentialProvider, AuthenticationConfiguration, IChannelProvider, RetryPolicy, HttpClient, IMiddleware, ILogger)

初始化 BotFrameworkHttpAdapterBase 類別的新執行個體。

public BotFrameworkHttpAdapterBase (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration authConfig, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default, Microsoft.Rest.TransientFaultHandling.RetryPolicy connectorClientRetryPolicy = default, System.Net.Http.HttpClient customHttpClient = default, Microsoft.Bot.Builder.IMiddleware middleware = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration * Microsoft.Bot.Connector.Authentication.IChannelProvider * Microsoft.Rest.TransientFaultHandling.RetryPolicy * System.Net.Http.HttpClient * Microsoft.Bot.Builder.IMiddleware * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Streaming.BotFrameworkHttpAdapterBase
Public Sub New (credentialProvider As ICredentialProvider, authConfig As AuthenticationConfiguration, Optional channelProvider As IChannelProvider = Nothing, Optional connectorClientRetryPolicy As RetryPolicy = Nothing, Optional customHttpClient As HttpClient = Nothing, Optional middleware As IMiddleware = Nothing, Optional logger As ILogger = Nothing)

參數

credentialProvider
ICredentialProvider

認證提供者。

authConfig
AuthenticationConfiguration

驗證設定。

channelProvider
IChannelProvider

通道提供者。

connectorClientRetryPolicy
Microsoft.Rest.TransientFaultHandling.RetryPolicy

重新設定 HTTP 作業的重試原則。

customHttpClient
HttpClient

HTTP 用戶端。

middleware
IMiddleware

要一開始新增至配接器的中介軟體。

logger
ILogger

此配接器應該使用的 ILogger 實作。

適用於