다음을 통해 공유


AdaptiveDialogBot 생성자

정의

AdaptiveDialogBot 클래스의 새 인스턴스를 초기화합니다.

public AdaptiveDialogBot (string adaptiveDialogId, string languageGeneratorId, Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer resourceExplorer, Microsoft.Bot.Builder.ConversationState conversationState, Microsoft.Bot.Builder.UserState userState, Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryBase skillConversationIdFactoryBase, Microsoft.Bot.Builder.Dialogs.Adaptive.LanguagePolicy languagePolicy, Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication botFrameworkAuthentication, Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope> scopes = default, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Memory.IPathResolver> pathResolvers = default, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Dialog> dialogs = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Dialogs.Adaptive.AdaptiveDialogBot : string * string * Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer * Microsoft.Bot.Builder.ConversationState * Microsoft.Bot.Builder.UserState * Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryBase * Microsoft.Bot.Builder.Dialogs.Adaptive.LanguagePolicy * Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication * Microsoft.Bot.Builder.IBotTelemetryClient * seq<Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope> * seq<Microsoft.Bot.Builder.Dialogs.Memory.IPathResolver> * seq<Microsoft.Bot.Builder.Dialogs.Dialog> * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Dialogs.Adaptive.AdaptiveDialogBot
Public Sub New (adaptiveDialogId As String, languageGeneratorId As String, resourceExplorer As ResourceExplorer, conversationState As ConversationState, userState As UserState, skillConversationIdFactoryBase As SkillConversationIdFactoryBase, languagePolicy As LanguagePolicy, botFrameworkAuthentication As BotFrameworkAuthentication, telemetryClient As IBotTelemetryClient, Optional scopes As IEnumerable(Of MemoryScope) = Nothing, Optional pathResolvers As IEnumerable(Of IPathResolver) = Nothing, Optional dialogs As IEnumerable(Of Dialog) = Nothing, Optional logger As ILogger = Nothing)

매개 변수

adaptiveDialogId
String

에서 로드할 의 AdaptiveDialog ID입니다 ResourceExplorer.

languageGeneratorId
String

에서 로드할 의 LanguageGenerator ID입니다 ResourceExplorer.

resourceExplorer
ResourceExplorer

에서 로드할 Bot Builder ResourceExplorer 입니다 Dialog .

conversationState
ConversationState

구현입니다 ConversationState .

userState
UserState

구현입니다 UserState .

skillConversationIdFactoryBase
SkillConversationIdFactoryBase

구현입니다 SkillConversationIdFactoryBase .

languagePolicy
LanguagePolicy

사용할 입니다 LanguagePolicy .

botFrameworkAuthentication
BotFrameworkAuthentication

BotFrameworkAuthentication Bot Builder Skills를 호출하기 위한 클라이언트를 가져오는 데 사용되는 입니다.

telemetryClient
IBotTelemetryClient

IBotTelemetryClient 봇 원격 분석 이벤트를 기록하는 데 사용되는 입니다.

scopes
IEnumerable<MemoryScope>

메모리 시스템을 확장하는 사용자 지정 MemoryScope 구현입니다.

pathResolvers
IEnumerable<IPathResolver>

메모리 범위에 새 확인자 경로 바로 가기를 추가하는 사용자 지정 IPathResolver 입니다.

dialogs
IEnumerable<Dialog>

루트 DialogSet에 추가될 사용자 지정 Dialog 입니다.

logger
ILogger

ILogger 인스턴스입니다.

적용 대상