CloudAdapterBase.ContinueConversationAsync Méthode

Définition

Surcharges

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

ClaimsIdentity pour la conversation.

continuationActivity
Activity

avec Activity le approprié ConversationReference avec lequel 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 être informés de l'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

ClaimsIdentity pour la conversation.

reference
ConversationReference

Référence à la conversation à poursuivre.

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

avec Activity le approprié ConversationReference avec lequel 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 être informés de l'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 à poursuivre.

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

ClaimsIdentity pour la conversation.

continuationActivity
Activity

avec Activity le approprié ConversationReference avec lequel poursuivre la conversation.

audience
String

Valeur qui signifie 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 être informés de l'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

ClaimsIdentity pour la conversation.

reference
ConversationReference

Référence à la conversation à poursuivre.

audience
String

Audience cible pour le 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 à