Compartilhar via


ControllerBase.NoContent Método

Definição

Cria um NoContentResult objeto que produz uma resposta vazia 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

Retornos

O objeto criado NoContentResult para a resposta.

Atributos

Aplica-se a