ConfigurationChannelProvider Class
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.
Caution
Use ConfigurationBotFrameworkAuthentication
instead to configure channel.
Channel provider which uses AppSettings to lookup the channel service property.
[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
- Inheritance
- Attributes
Remarks
This will populate the ChannelService from a configuration entry with the key of ChannelServiceKey.
NOTE: if the keys are not present, a null
value will be used.
Constructors
ConfigurationChannelProvider() |
Initializes a new instance of the ConfigurationChannelProvider class. |
ConfigurationChannelProvider(IConfiguration) |
Initializes a new instance of the ConfigurationChannelProvider class. |
Fields
ChannelServiceKey |
The key for ChannelService. |
Properties
ChannelService |
Gets or sets the channel service. (Inherited from SimpleChannelProvider) |
Methods
GetChannelServiceAsync() |
Gets the channel service property for this channel provider. (Inherited from SimpleChannelProvider) |
IsGovernment() |
Gets a value of whether this provider represents a channel on US Government Azure. (Inherited from SimpleChannelProvider) |
IsPublicAzure() |
Gets a value of whether this provider represents a channel on Public Azure. (Inherited from SimpleChannelProvider) |