Compartir a través de


ControllerBase.NoContent Método

Definición

Crea un NoContentResult objeto que genera una respuesta vacía Status204NoContent .

public:
 virtual Microsoft::AspNetCore::Mvc::NoContentResult ^ NoContent();
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.NoContentResult NoContent ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member NoContent : unit -> Microsoft.AspNetCore.Mvc.NoContentResult
override this.NoContent : unit -> Microsoft.AspNetCore.Mvc.NoContentResult
Public Overridable Function NoContent () As NoContentResult

Devoluciones

Objeto creado NoContentResult para la respuesta.

Atributos

Se aplica a