FunctionInvokedContext 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
This class is deprecated in favor of FunctionInvocationContext class, which is used in IFunctionInvocationFilter interface.
Class with data related to function after invocation.
[System.Obsolete("This class is deprecated in favor of FunctionInvocationContext class, which is used in IFunctionInvocationFilter interface.")]
public sealed class FunctionInvokedContext : Microsoft.SemanticKernel.FunctionFilterContext
[<System.Obsolete("This class is deprecated in favor of FunctionInvocationContext class, which is used in IFunctionInvocationFilter interface.")>]
type FunctionInvokedContext = class
inherit FunctionFilterContext
Public NotInheritable Class FunctionInvokedContext
Inherits FunctionFilterContext
- Inheritance
- Attributes
Constructors
FunctionInvokedContext(KernelArguments, FunctionResult) |
Initializes a new instance of the FunctionInvokedContext class. |
Properties
Arguments |
Gets the arguments associated with the operation. (Inherited from FunctionFilterContext) |
Cancel |
Gets or sets a value indicating whether the operation associated with the filter should be canceled. (Inherited from FunctionFilterContext) |
Function |
Gets the KernelFunction with which this filter is associated. (Inherited from FunctionFilterContext) |
Metadata |
Gets a dictionary of metadata associated with the operation. (Inherited from FunctionFilterContext) |
Result |
Gets the result of the function's invocation. |
Methods
SetResultValue(Object) |
Sets an object to use as the overridden new result for the function's invocation. |