Langue

CloudAdapterBase.ContinueConversationAsync Méthode

Définition

Surcharges

Nom Description
ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)

Envoie un message proactif à une conversation.

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

Envoie un message proactif du bot à une conversation.

ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)

Envoie un message proactif à une conversation.

ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)

Envoie un message proactif du bot à une conversation.

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

Envoie un message proactif à une conversation.

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

Envoie un message proactif du bot à une conversation.

ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)

Envoie un message proactif à une conversation.

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

Paramètres

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pour la conversation.

continuationActivity
Activity

Et Activity avec le temps approprié ConversationReference pour poursuivre la conversation.

callback
BotCallbackHandler

Méthode à appeler pour le tour de bot résultant.

cancellationToken
CancellationToken

Jeton d’annulation qui peut être utilisé par d’autres objets ou threads pour recevoir une notification d’annulation.

Retours

Tâche qui représente le travail mis en file d’attente à exécuter.

S’applique à

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

Envoie un message proactif du bot à une conversation.

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

Paramètres

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pour la conversation.

reference
ConversationReference

Référence à la conversation pour continuer.

callback
BotCallbackHandler

Méthode à appeler pour le tour de bot résultant.

cancellationToken
CancellationToken

Jeton d’annulation.

Retours

Tâche qui représente le travail mis en file d’attente à exécuter.

S’applique à

ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)

Envoie un message proactif à une conversation.

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

Paramètres

botAppId
String
continuationActivity
Activity

Et Activity avec le temps approprié ConversationReference pour poursuivre la conversation.

callback
BotCallbackHandler

Méthode à appeler pour le tour de bot résultant.

cancellationToken
CancellationToken

Jeton d’annulation qui peut être utilisé par d’autres objets ou threads pour recevoir une notification d’annulation.

Retours

Tâche qui représente le travail mis en file d’attente à exécuter.

S’applique à

ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)

Envoie un message proactif du bot à une conversation.

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

Paramètres

botAppId
String

ID d’application du bot. Il s’agit de l’appId retourné par l’inscription du portail et se trouve généralement dans le paramètre « MicrosoftAppId » dans appSettings.json.

reference
ConversationReference

Référence à la conversation pour continuer.

callback
BotCallbackHandler

Méthode à appeler pour le tour de bot résultant.

cancellationToken
CancellationToken

Jeton d’annulation.

Retours

Tâche qui représente le travail mis en file d’attente à exécuter.

S’applique à

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

Envoie un message proactif à une conversation.

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

Paramètres

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pour la conversation.

continuationActivity
Activity

Et Activity avec le temps approprié ConversationReference pour poursuivre la conversation.

audience
String

Valeur indiquant le destinataire du message proactif.

callback
BotCallbackHandler

Méthode à appeler pour le tour de bot résultant.

cancellationToken
CancellationToken

Jeton d’annulation qui peut être utilisé par d’autres objets ou threads pour recevoir une notification d’annulation.

Retours

Tâche qui représente le travail mis en file d’attente à exécuter.

S’applique à

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

Envoie un message proactif du bot à une conversation.

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

Paramètres

claimsIdentity
ClaimsIdentity

A ClaimsIdentity pour la conversation.

reference
ConversationReference

Référence à la conversation pour continuer.

audience
String

Public cible du connecteur.

callback
BotCallbackHandler

Méthode à appeler pour le tour de bot résultant.

cancellationToken
CancellationToken

Jeton d’annulation.

Retours

Tâche qui représente le travail mis en file d’attente à exécuter.

S’applique à