ChannelServiceHandler Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuwe instantie van de ChannelServiceHandler klasse, met behulp van een credentialprovider.
public ChannelServiceHandler(Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration authConfiguration, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default);
new Microsoft.Bot.Builder.ChannelServiceHandler : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration * Microsoft.Bot.Connector.Authentication.IChannelProvider -> Microsoft.Bot.Builder.ChannelServiceHandler
Public Sub New (credentialProvider As ICredentialProvider, authConfiguration As AuthenticationConfiguration, Optional channelProvider As IChannelProvider = Nothing)
Parameters
- credentialProvider
- ICredentialProvider
De aanbieder van de credentials.
- authConfiguration
- AuthenticationConfiguration
De authenticatieconfiguratie.
- channelProvider
- IChannelProvider
De kanaalaanbieder.
Uitzonderingen
gooi ArgumentNullException.