Condividi tramite


ControllerBase.NoContent Metodo

Definizione

Crea un NoContentResult oggetto che produce una risposta vuota 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

Restituisce

Oggetto creato NoContentResult per la risposta.

Attributi

Si applica a