ChannelServiceHandler Konstruktor
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje ChannelServiceHandler nowe wystąpienie klasy przy użyciu dostawcy poświadczeń.
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)
Parametry
- credentialProvider
- ICredentialProvider
Dostawca poświadczeń.
- authConfiguration
- AuthenticationConfiguration
Konfiguracja uwierzytelniania.
- channelProvider
- IChannelProvider
Dostawca kanału.
Wyjątki
throw ArgumentNullException.