Share via


EmptyResult Class

Definition

Represents an ActionResult that when executed will do nothing.

public ref class EmptyResult : Microsoft::AspNetCore::Mvc::ActionResult
public class EmptyResult : Microsoft.AspNetCore.Mvc.ActionResult
type EmptyResult = class
    inherit ActionResult
Public Class EmptyResult
Inherits ActionResult
Inheritance
EmptyResult

Constructors

EmptyResult()

Methods

ExecuteResult(ActionContext)

Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method.

ExecuteResultAsync(ActionContext)

Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. The default implementation of this method calls the ExecuteResult(ActionContext) method and returns a completed task.

(Inherited from ActionResult)

Applies to