Share via


ResourceExplorer.ResolveRefAsync Method

Definition

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.

Applies to