Freigeben über


Kernel.FunctionInvoking 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 prior to 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.FunctionInvokingEventArgs>? FunctionInvoking;
[<System.Obsolete("Events are deprecated in favor of filters. Example in dotnet/samples/GettingStarted/Step7_Observability.cs of Semantic Kernel repository.")>]
member this.FunctionInvoking : EventHandler<Microsoft.SemanticKernel.FunctionInvokingEventArgs> 
Public Event FunctionInvoking As EventHandler(Of FunctionInvokingEventArgs) 

Event Type

Attributes

Applies to