语言

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>

引用所指的已解析对象。

适用于