다음을 통해 공유


IAsyncNLHandlerFactory.GetNLHandlerAsync Method

Definition

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.

Applies to