次の方法で共有


ConfigurationChannelProvider クラス

定義

注意事項

Use ConfigurationBotFrameworkAuthentication instead to configure channel.

を使用 AppSettings してチャネル サービス プロパティを検索するチャネル プロバイダー。

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)]
public sealed class ConfigurationChannelProvider : Microsoft.Bot.Connector.Authentication.SimpleChannelProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)>]
type ConfigurationChannelProvider = class
    inherit SimpleChannelProvider
Public NotInheritable Class ConfigurationChannelProvider
Inherits SimpleChannelProvider
継承
ConfigurationChannelProvider
属性

注釈

これにより、構成エントリから の ChannelService キー ChannelServiceKeyが設定されます。

注: キーが存在しない場合は、値が null 使用されます。

コンストラクター

ConfigurationChannelProvider()
古い.

ConfigurationChannelProvider クラスの新しいインスタンスを初期化します。

ConfigurationChannelProvider(IConfiguration)
古い.

ConfigurationChannelProvider クラスの新しいインスタンスを初期化します。

フィールド

ChannelServiceKey
古い.

ChannelService のキー。

プロパティ

ChannelService
古い.

チャネル サービスを取得または設定します。

(継承元 SimpleChannelProvider)

メソッド

GetChannelServiceAsync()
古い.

このチャネル プロバイダーのチャネル サービス プロパティを取得します。

(継承元 SimpleChannelProvider)
IsGovernment()
古い.

このプロバイダーが US Government Azure 上のチャネルを表すかどうかを示す値を取得します。

(継承元 SimpleChannelProvider)
IsPublicAzure()
古い.

このプロバイダーがパブリック Azure 上のチャネルを表すかどうかを示す値を取得します。

(継承元 SimpleChannelProvider)

適用対象