KernelFunctionCanceledException Constructor
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.
Initializes the exception instance.
public KernelFunctionCanceledException (Microsoft.SemanticKernel.Kernel kernel, Microsoft.SemanticKernel.KernelFunction function, Microsoft.SemanticKernel.KernelArguments arguments, Microsoft.SemanticKernel.FunctionResult? functionResult, Exception? innerException = default);
new Microsoft.SemanticKernel.KernelFunctionCanceledException : Microsoft.SemanticKernel.Kernel * Microsoft.SemanticKernel.KernelFunction * Microsoft.SemanticKernel.KernelArguments * Microsoft.SemanticKernel.FunctionResult * Exception -> Microsoft.SemanticKernel.KernelFunctionCanceledException
Public Sub New (kernel As Kernel, function As KernelFunction, arguments As KernelArguments, functionResult As FunctionResult, Optional innerException As Exception = Nothing)
Parameters
- function
- KernelFunction
The KernelFunction whose invocation was canceled.
- arguments
- KernelArguments
The arguments collection supplied to the invocation of function
.
- functionResult
- FunctionResult
The result of the KernelFunction invocation, potentially modified by the event handler, if cancellation was requested after the function's successful completion.
- innerException
- Exception
The exception that is the cause of the current exception.