Freigeben über


Kernel.FunctionInvoked Event

Definition

Caution

Events are deprecated in favor of filters. Example in dotnet/samples/GettingStarted/Step7_Observability.cs of Semantic Kernel repository.

Provides an event that's raised after a function's invocation.

[System.Obsolete("Events are deprecated in favor of filters. Example in dotnet/samples/GettingStarted/Step7_Observability.cs of Semantic Kernel repository.")]
public event EventHandler<Microsoft.SemanticKernel.FunctionInvokedEventArgs>? FunctionInvoked;
[<System.Obsolete("Events are deprecated in favor of filters. Example in dotnet/samples/GettingStarted/Step7_Observability.cs of Semantic Kernel repository.")>]
member this.FunctionInvoked : EventHandler<Microsoft.SemanticKernel.FunctionInvokedEventArgs> 
Public Event FunctionInvoked As EventHandler(Of FunctionInvokedEventArgs) 

Event Type

Attributes

Applies to