ResourceExplorer.ResolveRefAsync 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.
Resolves a ref to the actual object.
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)
Parameters
- refToken
- Newtonsoft.Json.Linq.JToken
reference.
- sourceContext
- SourceContext
source context to build debugger source map.
- cancellationToken
- CancellationToken
the CancellationToken for the task.
Returns
Task<Newtonsoft.Json.Linq.JToken>
resolved object the reference refers to.