SkillConversationIdFactoryBase.GetSkillConversationReferenceAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
SkillConversationReference取得 skillConversationId 期間 CreateSkillConversationIdAsync(SkillConversationIdFactoryOptions, CancellationToken) 所使用的 。
public virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.Skills.SkillConversationReference> GetSkillConversationReferenceAsync (string skillConversationId, System.Threading.CancellationToken cancellationToken);
abstract member GetSkillConversationReferenceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Skills.SkillConversationReference>
override this.GetSkillConversationReferenceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Skills.SkillConversationReference>
Public Overridable Function GetSkillConversationReferenceAsync (skillConversationId As String, cancellationToken As CancellationToken) As Task(Of SkillConversationReference)
參數
- skillConversationId
- String
使用 CreateSkillConversationIdAsync(SkillConversationIdFactoryOptions, CancellationToken) 建立的技能 conversationId。
- cancellationToken
- CancellationToken
取消語彙基元。
傳回
skillConversationId 的 ConversationReference 呼叫端,使用 originatingAudience。 如果找不到,則為 Null。