Share via


KernelFunctionCanceledException Class

Definition

Provides an OperationCanceledException-derived exception type that's thrown from a KernelFunction invocation when a Kernel function filter (e.g. FunctionInvocationFilters) requests cancellation.

public sealed class KernelFunctionCanceledException : OperationCanceledException
type KernelFunctionCanceledException = class
    inherit OperationCanceledException
Public NotInheritable Class KernelFunctionCanceledException
Inherits OperationCanceledException
Inheritance
KernelFunctionCanceledException

Constructors

KernelFunctionCanceledException(Kernel, KernelFunction, KernelArguments, FunctionResult, Exception)

Initializes the exception instance.

Properties

Arguments

Gets the arguments collection that was supplied to the invocation of Function.

Function

Gets the KernelFunction whose invocation was canceled.

FunctionResult

Gets the result of the KernelFunction if it had completed execution before cancellation was requested.

Kernel

Gets the Kernel that was passed to the invocation of Function.

Applies to