Lezen in het Engels

Delen via


FunctionInvokingEventArgs Class

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.

Caution

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

Provides a CancelKernelEventArgs used in events just before a function is invoked.

C#
[System.Obsolete("Events are deprecated in favor of filters. Example in dotnet/samples/GettingStarted/Step7_Observability.cs of Semantic Kernel repository.")]
public sealed class FunctionInvokingEventArgs : Microsoft.SemanticKernel.CancelKernelEventArgs
Inheritance
FunctionInvokingEventArgs
Attributes

Constructors

Properties

Arguments

Gets the arguments associated with the operation.

(Inherited from KernelEventArgs)
Cancel

Gets or sets a value indicating whether the operation associated with the event should be canceled.

(Inherited from CancelKernelEventArgs)
Function

Gets the KernelFunction with which this event is associated.

(Inherited from KernelEventArgs)
Metadata

Gets a dictionary of metadata related to the event.

(Inherited from KernelEventArgs)

Applies to

Product Versies (Verouderd)
Semantic Kernel Dotnet (Latest)