HttpNoContentOutputFormatter Class   
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.
Sets the status code to 204 if the content is null.
public ref class HttpNoContentOutputFormatter : Microsoft::AspNetCore::Mvc::Formatters::IOutputFormatterpublic class HttpNoContentOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.IOutputFormattertype HttpNoContentOutputFormatter = class
    interface IOutputFormatterPublic Class HttpNoContentOutputFormatter
Implements IOutputFormatter- Inheritance
- 
				HttpNoContentOutputFormatter
- Implements
Constructors
| HttpNoContentOutputFormatter() | 
Properties
| TreatNullValueAsNoContent | Indicates whether to select this formatter if the returned value from the action is null. | 
Methods
| CanWriteResult(OutputFormatterCanWriteContext) | Determines whether this IOutputFormatter can serialize an object of the specified type. | 
| WriteAsync(OutputFormatterWriteContext) | Writes the object represented by  |