Compartilhar via


ResultExecutingContext.Cancel Property

Gets or sets a value that indicates whether this ResultExecutingContext value is "cancel".

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property Cancel As Boolean
    Get
    Set
public bool Cancel { get; set; }
public:
property bool Cancel {
    bool get ();
    void set (bool value);
}

Property Value

Type: System.Boolean
true if the value is "cancel"; otherwise, false.

See Also

Reference

ResultExecutingContext Class

System.Web.Mvc Namespace