DelegatingAIFunction.InvokeCoreAsync Metodo

Definizione

Richiama e restituisce il AIFunction risultato.

protected:
 override System::Threading::Tasks::ValueTask<System::Object ^> InvokeCoreAsync(Microsoft::Extensions::AI::AIFunctionArguments ^ arguments, System::Threading::CancellationToken cancellationToken);
protected override System.Threading.Tasks.ValueTask<object?> InvokeCoreAsync(Microsoft.Extensions.AI.AIFunctionArguments arguments, System.Threading.CancellationToken cancellationToken);
override this.InvokeCoreAsync : Microsoft.Extensions.AI.AIFunctionArguments * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<obj>
Protected Overrides Function InvokeCoreAsync (arguments As AIFunctionArguments, cancellationToken As CancellationToken) As ValueTask(Of Object)

Parametri

arguments
AIFunctionArguments

Argomenti da passare alla chiamata della funzione.

cancellationToken
CancellationToken

Oggetto CancellationToken da monitorare per le richieste di annullamento.

Valori restituiti

Risultato dell'esecuzione della funzione.

Si applica a