Lingua

CloudAdapterBase.CreateConversationAsync Metodo

Definizione

Crea una conversazione sul canale specificato.

public override System.Threading.Tasks.Task CreateConversationAsync(string botAppId, string channelId, string serviceUrl, string audience, Microsoft.Bot.Schema.ConversationParameters conversationParameters, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.CreateConversationAsync : string * string * string * string * Microsoft.Bot.Schema.ConversationParameters * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function CreateConversationAsync (botAppId As String, channelId As String, serviceUrl As String, audience As String, conversationParameters As ConversationParameters, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parametri

botAppId
String

L'ID dell'applicazione del bot.

channelId
String

ID del canale.

serviceUrl
String

Endpoint dell'URL del servizio del canale.

audience
String

Destinatari del connettore.

conversationParameters
ConversationParameters

Informazioni sulla conversazione da usare per creare la conversazione.

callback
BotCallbackHandler

Metodo da chiamare per il turno del bot risultante.

cancellationToken
CancellationToken

Token di annullamento che può essere utilizzato da altri oggetti o thread per ricevere un avviso di annullamento.

Valori restituiti

Attività che rappresenta il lavoro in coda da eseguire.

Si applica a