Język

ConfigurationChannelProvider Klasa

Definicja

Uwaga

Use ConfigurationBotFrameworkAuthentication instead to configure channel.

Dostawca kanału, który używa do AppSettings wyszukiwania właściwości usługi kanałowej.

[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
Dziedziczenie
ConfigurationChannelProvider
Atrybuty

Uwagi

To wypełni element ChannelService z wpisu konfiguracji kluczem .ChannelServiceKey

UWAGA: jeśli klucze nie są obecne, zostanie użyta wartość null .

Konstruktory

Nazwa Opis
ConfigurationChannelProvider()
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationChannelProvider.

ConfigurationChannelProvider(IConfiguration)
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationChannelProvider.

Pola

Nazwa Opis
ChannelServiceKey
Przestarzałe.

Klucz do ChannelService.

Właściwości

Nazwa Opis
ChannelService
Przestarzałe.

Odbiera lub ustawia usługę kanałową.

(Odziedziczone po SimpleChannelProvider)

Metody

Nazwa Opis
GetChannelServiceAsync()
Przestarzałe.

Otrzymuje właściwość usługi kanałowej dla tego dostawcy kanału.

(Odziedziczone po SimpleChannelProvider)
IsGovernment()
Przestarzałe.

Otrzymuje wartość, czy dany dostawca reprezentuje kanał na US Government Azure.

(Odziedziczone po SimpleChannelProvider)
IsPublicAzure()
Przestarzałe.

Otrzymuje wartość, czy dany dostawca reprezentuje kanał na publicznym Azure.

(Odziedziczone po SimpleChannelProvider)

Dotyczy