AIFunction.InvokeAsync 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.
public System.Threading.Tasks.Task<object?> InvokeAsync (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? arguments = default, System.Threading.CancellationToken cancellationToken = default);
member this.InvokeAsync : seq<System.Collections.Generic.KeyValuePair<string, obj>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>
Public Function InvokeAsync (Optional arguments As IEnumerable(Of KeyValuePair(Of String, Object)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) 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. The default is None.
Returns
The result of the function's execution.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.