Compartir a través de


SkillConversationIdFactoryBase.GetConversationReferenceAsync Método

Definición

Precaución

Method is deprecated, please use GetSkillConversationReferenceAsync() instead.

Obtiene el objeto ConversationReference creado mediante CreateSkillConversationIdAsync(ConversationReference, CancellationToken) para un skillConversationId.

[System.Obsolete("Method is deprecated, please use GetSkillConversationReferenceAsync() instead.", false)]
public virtual System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationReference> GetConversationReferenceAsync (string skillConversationId, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Method is deprecated, please use GetSkillConversationReferenceAsync() instead.", false)>]
abstract member GetConversationReferenceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationReference>
override this.GetConversationReferenceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationReference>
Public Overridable Function GetConversationReferenceAsync (skillConversationId As String, cancellationToken As CancellationToken) As Task(Of ConversationReference)

Parámetros

skillConversationId
String

Un conversationId de aptitud creado mediante CreateSkillConversationIdAsync(ConversationReference, CancellationToken).

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

El autor de la llamada es ConversationReference para un skillConversationId. NULL si no se encuentra.

Atributos

Se aplica a