Idioma

CloudAdapterBase.ContinueConversationAsync Método

Definição

Sobrecargas

Name Descrição
ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa para uma conversa.

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa do bot para uma conversa.

ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa para uma conversa.

ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa do bot para uma conversa.

ContinueConversationAsync(ClaimsIdentity, Activity, String, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa para uma conversa.

ContinueConversationAsync(ClaimsIdentity, ConversationReference, String, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa do bot para uma conversa.

ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa para uma conversa.

public override System.Threading.Tasks.Task ContinueConversationAsync(System.Security.Claims.ClaimsIdentity claimsIdentity, Microsoft.Bot.Schema.Activity continuationActivity, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : System.Security.Claims.ClaimsIdentity * Microsoft.Bot.Schema.Activity * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ContinueConversationAsync (claimsIdentity As ClaimsIdentity, continuationActivity As Activity, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parâmetros

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pela conversa.

continuationActivity
Activity

E Activity com o modo apropriado ConversationReference para continuar a conversa.

callback
BotCallbackHandler

O método para chamar o turno de bot resultante.

cancellationToken
CancellationToken

Um token de cancelamento que pode ser usado por outros objetos ou threads para receber aviso de cancelamento.

Devoluções

Uma tarefa que representa o trabalho enfileirado para ser executado.

Aplica-se a

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa do bot para uma conversa.

public override System.Threading.Tasks.Task ContinueConversationAsync(System.Security.Claims.ClaimsIdentity claimsIdentity, Microsoft.Bot.Schema.ConversationReference reference, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : System.Security.Claims.ClaimsIdentity * Microsoft.Bot.Schema.ConversationReference * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ContinueConversationAsync (claimsIdentity As ClaimsIdentity, reference As ConversationReference, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parâmetros

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pela conversa.

reference
ConversationReference

Uma referência à conversa para continuar.

callback
BotCallbackHandler

O método para chamar o turno de bot resultante.

cancellationToken
CancellationToken

Token de cancelamento.

Devoluções

Uma tarefa que representa o trabalho enfileirado para ser executado.

Aplica-se a

ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa para uma conversa.

public override System.Threading.Tasks.Task ContinueConversationAsync(string botAppId, Microsoft.Bot.Schema.Activity continuationActivity, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : string * Microsoft.Bot.Schema.Activity * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ContinueConversationAsync (botAppId As String, continuationActivity As Activity, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parâmetros

botAppId
String
continuationActivity
Activity

E Activity com o modo apropriado ConversationReference para continuar a conversa.

callback
BotCallbackHandler

O método para chamar o turno de bot resultante.

cancellationToken
CancellationToken

Um token de cancelamento que pode ser usado por outros objetos ou threads para receber aviso de cancelamento.

Devoluções

Uma tarefa que representa o trabalho enfileirado para ser executado.

Aplica-se a

ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa do bot para uma conversa.

public override System.Threading.Tasks.Task ContinueConversationAsync(string botAppId, Microsoft.Bot.Schema.ConversationReference reference, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : string * Microsoft.Bot.Schema.ConversationReference * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ContinueConversationAsync (botAppId As String, reference As ConversationReference, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parâmetros

botAppId
String

O ID do aplicativo do bot. Este é o appId devolvido pelo registo do Portal, e geralmente encontra-se no parâmetro "MicrosoftAppId" em appSettings.json.

reference
ConversationReference

Uma referência à conversa para continuar.

callback
BotCallbackHandler

O método para chamar o turno de bot resultante.

cancellationToken
CancellationToken

Token de cancelamento.

Devoluções

Uma tarefa que representa o trabalho enfileirado para ser executado.

Aplica-se a

ContinueConversationAsync(ClaimsIdentity, Activity, String, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa para uma conversa.

public override System.Threading.Tasks.Task ContinueConversationAsync(System.Security.Claims.ClaimsIdentity claimsIdentity, Microsoft.Bot.Schema.Activity continuationActivity, string audience, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : System.Security.Claims.ClaimsIdentity * Microsoft.Bot.Schema.Activity * string * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ContinueConversationAsync (claimsIdentity As ClaimsIdentity, continuationActivity As Activity, audience As String, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parâmetros

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pela conversa.

continuationActivity
Activity

E Activity com o modo apropriado ConversationReference para continuar a conversa.

audience
String

Um valor que significa o destinatário da mensagem proativa.

callback
BotCallbackHandler

O método para chamar o turno de bot resultante.

cancellationToken
CancellationToken

Um token de cancelamento que pode ser usado por outros objetos ou threads para receber aviso de cancelamento.

Devoluções

Uma tarefa que representa o trabalho enfileirado para ser executado.

Aplica-se a

ContinueConversationAsync(ClaimsIdentity, ConversationReference, String, BotCallbackHandler, CancellationToken)

Envia uma mensagem proativa do bot para uma conversa.

public override System.Threading.Tasks.Task ContinueConversationAsync(System.Security.Claims.ClaimsIdentity claimsIdentity, Microsoft.Bot.Schema.ConversationReference reference, string audience, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : System.Security.Claims.ClaimsIdentity * Microsoft.Bot.Schema.ConversationReference * string * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ContinueConversationAsync (claimsIdentity As ClaimsIdentity, reference As ConversationReference, audience As String, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parâmetros

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pela conversa.

reference
ConversationReference

Uma referência à conversa para continuar.

audience
String

O público-alvo para o conector.

callback
BotCallbackHandler

O método para chamar o turno de bot resultante.

cancellationToken
CancellationToken

Token de cancelamento.

Devoluções

Uma tarefa que representa o trabalho enfileirado para ser executado.

Aplica-se a