Share via


KernelEventArgs Class

Definition

Caution

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

Provides an EventArgs for operations related to Kernel-based operations.

[System.Obsolete("Events are deprecated in favor of filters. Example in dotnet/samples/GettingStarted/Step7_Observability.cs of Semantic Kernel repository.")]
public abstract class KernelEventArgs : EventArgs
[<System.Obsolete("Events are deprecated in favor of filters. Example in dotnet/samples/GettingStarted/Step7_Observability.cs of Semantic Kernel repository.")>]
type KernelEventArgs = class
    inherit EventArgs
Public MustInherit Class KernelEventArgs
Inherits EventArgs
Inheritance
KernelEventArgs
Derived
Attributes

Properties

Arguments

Gets the arguments associated with the operation.

Function

Gets the KernelFunction with which this event is associated.

Metadata

Gets a dictionary of metadata related to the event.

Applies to