ResourceExecutingContext.Result Property

Definition

Gets or sets the result of the action to be executed.

public:
 virtual property Microsoft::AspNetCore::Mvc::IActionResult ^ Result { Microsoft::AspNetCore::Mvc::IActionResult ^ get(); void set(Microsoft::AspNetCore::Mvc::IActionResult ^ value); };
public virtual Microsoft.AspNetCore.Mvc.IActionResult Result { get; set; }
public virtual Microsoft.AspNetCore.Mvc.IActionResult? Result { get; set; }
member this.Result : Microsoft.AspNetCore.Mvc.IActionResult with get, set
Public Overridable Property Result As IActionResult

Property Value

Remarks

Setting Result to a non-null value inside a resource filter will short-circuit execution of additional resource filters and the action itself.

Applies to