SkillConversationIdFactoryBase.GetConversationReferenceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Method is deprecated, please use GetSkillConversationReferenceAsync() instead.
Gets the ConversationReference created using CreateSkillConversationIdAsync(ConversationReference, CancellationToken) for a 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)
Parameters
- skillConversationId
- String
A skill conversationId created using CreateSkillConversationIdAsync(ConversationReference, CancellationToken).
- cancellationToken
- CancellationToken
A cancellation token.
Returns
The caller's ConversationReference for a skillConversationId. null if not found.
- Attributes