ConfigurationChannelProvider Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przestroga
Use ConfigurationBotFrameworkAuthentication instead to configure channel.
Dostawca kanału używany AppSettings do wyszukiwania właściwości usługi kanału.
[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
- Atrybuty
Uwagi
Spowoduje to wypełnienie elementu ChannelService z wpisu konfiguracji kluczem ChannelServiceKey.
UWAGA: jeśli klucze nie są obecne, zostanie użyta null wartość.
Konstruktory
| ConfigurationChannelProvider() |
Przestarzałe.
Inicjuje nowe wystąpienie klasy ConfigurationChannelProvider. |
| ConfigurationChannelProvider(IConfiguration) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy ConfigurationChannelProvider. |
Pola
| ChannelServiceKey |
Przestarzałe.
Klucz dla usługi ChannelService. |
Właściwości
| ChannelService |
Przestarzałe.
Pobiera lub ustawia usługę kanału. (Odziedziczone po SimpleChannelProvider) |
Metody
| GetChannelServiceAsync() |
Przestarzałe.
Pobiera właściwość usługi kanału dla tego dostawcy kanału. (Odziedziczone po SimpleChannelProvider) |
| IsGovernment() |
Przestarzałe.
Pobiera wartość tego, czy ten dostawca reprezentuje kanał na platformie Azure dla instytucji rządowych USA. (Odziedziczone po SimpleChannelProvider) |
| IsPublicAzure() |
Przestarzałe.
Pobiera wartość tego, czy ten dostawca reprezentuje kanał na publicznej platformie Azure. (Odziedziczone po SimpleChannelProvider) |