AIFunction.InvokeCoreAsync 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.
Invokes the AIFunction and returns its result.
protected:
abstract System::Threading::Tasks::Task<System::Object ^> ^ InvokeCoreAsync(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ arguments, System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<object?> InvokeCoreAsync(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>> arguments, System.Threading.CancellationToken cancellationToken);
abstract member InvokeCoreAsync : seq<System.Collections.Generic.KeyValuePair<string, obj>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>
Protected MustOverride Function InvokeCoreAsync (arguments As IEnumerable(Of KeyValuePair(Of String, Object)), cancellationToken As CancellationToken) As Task(Of Object)
Parameters
- arguments
- IEnumerable<KeyValuePair<String,Object>>
The arguments to pass to the function's invocation.
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests.
Returns
The result of the function's execution.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.