Partager via


ChannelServiceHandler Constructeur

Définition

Initialise une nouvelle instance de la classe à l’aide ChannelServiceHandler d’un fournisseur d’informations d’identification.

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)

Paramètres

credentialProvider
ICredentialProvider

Fournisseur d’informations d’identification.

authConfiguration
AuthenticationConfiguration

Configuration de l'authentification.

channelProvider
IChannelProvider

Fournisseur de canal.

Exceptions

lève ArgumentNullException.

S’applique à