FunctionFilterContext.Cancel Property
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.
Gets or sets a value indicating whether the operation associated with the filter should be canceled.
public bool Cancel { get; set; }
member this.Cancel : bool with get, set
Public Property Cancel As Boolean
Property Value
Remarks
The filter may set Cancel to true to indicate that the operation should be canceled. If there are multiple filters registered, subsequent filters may see and change a value set by a previous filter. The final result is what will be considered by the component that triggers filter.