Compartir a través de


ChannelServiceHandler Constructor

Definición

Inicializa una nueva instancia de la ChannelServiceHandler clase utilizando un proveedor de credenciales.

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)

Parámetros

credentialProvider
ICredentialProvider

Proveedor de credenciales.

authConfiguration
AuthenticationConfiguration

Configuración de autenticación.

channelProvider
IChannelProvider

Proveedor del canal.

Excepciones

throw ArgumentNullException.

Se aplica a