SimpleChannelProvider 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.
A simple channel provider with basic configuration parameters to connect to a Bot Framework channel service.
[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)]
public class SimpleChannelProvider : Microsoft.Bot.Connector.Authentication.IChannelProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)>]
type SimpleChannelProvider = class
interface IChannelProvider
Public Class SimpleChannelProvider
Implements IChannelProvider
- Inheritance
-
SimpleChannelProvider
- Derived
- Attributes
- Implements
Constructors
SimpleChannelProvider() |
Initializes a new instance of the SimpleChannelProvider class. Creates a SimpleChannelProvider with no ChannelService which will use Public Azure. |
SimpleChannelProvider(String) |
Initializes a new instance of the SimpleChannelProvider class. |
Properties
ChannelService |
Gets or sets the channel service. |
Methods
GetChannelServiceAsync() |
Gets the channel service property for this channel provider. |
IsGovernment() |
Gets a value of whether this provider represents a channel on US Government Azure. |
IsPublicAzure() |
Gets a value of whether this provider represents a channel on Public Azure. |