語言

ResourceExplorer.ResolveRefAsync 方法

定義

解析出一個參考到實際物件。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> ResolveRefAsync(Newtonsoft.Json.Linq.JToken refToken, Microsoft.Bot.Builder.Dialogs.Debugging.SourceContext sourceContext, System.Threading.CancellationToken cancellationToken = default);
member this.ResolveRefAsync : Newtonsoft.Json.Linq.JToken * Microsoft.Bot.Builder.Dialogs.Debugging.SourceContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function ResolveRefAsync (refToken As JToken, sourceContext As SourceContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JToken)

參數

refToken
Newtonsoft.Json.Linq.JToken

參考。

sourceContext
SourceContext

建立除錯器原始碼映射的原始碼上下文。

cancellationToken
CancellationToken

為了 CancellationToken 任務。

傳回

Task<Newtonsoft.Json.Linq.JToken>

參考指的已解決對象。

適用於