IAsyncNLHandlerFactory.GetNLHandlerAsync 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.
Get the NLHandler from the given scope.
public System.Threading.Tasks.Task<Microsoft.PowerFx.LanguageServerProtocol.NLHandler> GetNLHandlerAsync(Microsoft.PowerFx.Intellisense.IPowerFxScope scope, Microsoft.PowerFx.LanguageServerProtocol.Protocol.BaseNLParams nlParams, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNLHandlerAsync : Microsoft.PowerFx.Intellisense.IPowerFxScope * Microsoft.PowerFx.LanguageServerProtocol.Protocol.BaseNLParams * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerFx.LanguageServerProtocol.NLHandler>
Public Function GetNLHandlerAsync (scope As IPowerFxScope, nlParams As BaseNLParams, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NLHandler)
Parameters
- scope
- IPowerFxScope
IPowerFxScope instance.
- nlParams
- BaseNLParams
NL operation params.
- cancellationToken
- CancellationToken
Cancellation Token.
Returns
NLHandler for the given scope.