ControllerBase.NoContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a NoContentResult object that produces an empty Status204NoContent response.
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
Returns
The created NoContentResult object for the response.
- Attributes