ConfigurationChannelProvider ConfigurationChannelProvider ConfigurationChannelProvider Class

Definition

Channel provider which uses AppSettings to lookup the channel service property.

public sealed class ConfigurationChannelProvider : Microsoft.Bot.Connector.Authentication.SimpleChannelProvider
type ConfigurationChannelProvider = class
    inherit SimpleChannelProvider
Public NotInheritable Class ConfigurationChannelProvider
Inherits SimpleChannelProvider
Inheritance
ConfigurationChannelProviderConfigurationChannelProviderConfigurationChannelProvider

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() ConfigurationChannelProvider() ConfigurationChannelProvider()
ConfigurationChannelProvider(IConfiguration) ConfigurationChannelProvider(IConfiguration) ConfigurationChannelProvider(IConfiguration)

Fields

ChannelServiceKey ChannelServiceKey ChannelServiceKey

The key for ChannelService.

Properties

ChannelService ChannelService ChannelService Inherited from SimpleChannelProvider

Methods

GetChannelServiceAsync() GetChannelServiceAsync() GetChannelServiceAsync()

Gets the channel service property for this channel provider

(Inherited from SimpleChannelProvider)
IsGovernment() IsGovernment() IsGovernment()

Gets a value of whether this provider represents a channel on US Government Azure

(Inherited from SimpleChannelProvider)
IsPublicAzure() IsPublicAzure() IsPublicAzure()

Gets a value of whether this provider represents a channel on Public Azure

(Inherited from SimpleChannelProvider)

Applies to