CloudAdapterBase.ContinueConversationAsync Metodo

Definizione

Overload

ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo a una conversazione.

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo dal bot a una conversazione.

ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo a una conversazione.

ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo dal bot a una conversazione.

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

Invia un messaggio proattivo a una conversazione.

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

Invia un messaggio proattivo dal bot a una conversazione.

ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo a una conversazione.

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

Parametri

claimsIdentity
ClaimsIdentity

Oggetto ClaimsIdentity per la conversazione.

continuationActivity
Activity

Oggetto Activity con l'oggetto appropriato ConversationReference con il quale continuare la conversazione.

callback
BotCallbackHandler

Metodo da chiamare per il turno del bot risultante.

cancellationToken
CancellationToken

Token di annullamento utilizzabile da altri oggetti o thread per ricevere l'avviso dell'annullamento.

Restituisce

Attività che rappresenta il lavoro in coda da eseguire.

Si applica a

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo dal bot a una conversazione.

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

Parametri

claimsIdentity
ClaimsIdentity

Oggetto ClaimsIdentity per la conversazione.

reference
ConversationReference

Riferimento alla conversazione da continuare.

callback
BotCallbackHandler

Metodo da chiamare per il turno del bot risultante.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Attività che rappresenta il lavoro in coda da eseguire.

Si applica a

ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo a una conversazione.

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

Parametri

botAppId
String
continuationActivity
Activity

Oggetto Activity con l'oggetto appropriato ConversationReference con il quale continuare la conversazione.

callback
BotCallbackHandler

Metodo da chiamare per il turno del bot risultante.

cancellationToken
CancellationToken

Token di annullamento utilizzabile da altri oggetti o thread per ricevere l'avviso dell'annullamento.

Restituisce

Attività che rappresenta il lavoro in coda da eseguire.

Si applica a

ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)

Invia un messaggio proattivo dal bot a una conversazione.

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

Parametri

botAppId
String

ID applicazione del bot. Si tratta dell'appId restituito dalla registrazione del portale e in genere si trova nel parametro "MicrosoftAppId" in appSettings.json.

reference
ConversationReference

Riferimento alla conversazione da continuare.

callback
BotCallbackHandler

Metodo da chiamare per il turno del bot risultante.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Attività che rappresenta il lavoro in coda da eseguire.

Si applica a

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

Invia un messaggio proattivo a una conversazione.

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

Parametri

claimsIdentity
ClaimsIdentity

Oggetto ClaimsIdentity per la conversazione.

continuationActivity
Activity

Oggetto Activity con l'oggetto appropriato ConversationReference con il quale continuare la conversazione.

audience
String

Valore che indica il destinatario del messaggio proattivo.

callback
BotCallbackHandler

Metodo da chiamare per il turno del bot risultante.

cancellationToken
CancellationToken

Token di annullamento utilizzabile da altri oggetti o thread per ricevere l'avviso dell'annullamento.

Restituisce

Attività che rappresenta il lavoro in coda da eseguire.

Si applica a

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

Invia un messaggio proattivo dal bot a una conversazione.

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

Parametri

claimsIdentity
ClaimsIdentity

Oggetto ClaimsIdentity per la conversazione.

reference
ConversationReference

Riferimento alla conversazione da continuare.

audience
String

Destinatari di destinazione per il connettore.

callback
BotCallbackHandler

Metodo da chiamare per il turno del bot risultante.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Attività che rappresenta il lavoro in coda da eseguire.

Si applica a