ResourceExplorer.ResolveRefAsync 方法

定义

将 ref 解析为实际对象。

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>

引用引用的已解析对象。

适用于