ProducesResponseTypeMetadata 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.
Specifies the type of the value and status code returned by the action.
public sealed class ProducesResponseTypeMetadata : Microsoft.AspNetCore.Http.Metadata.IProducesResponseTypeMetadata
type ProducesResponseTypeMetadata = class
interface IProducesResponseTypeMetadata
Public NotInheritable Class ProducesResponseTypeMetadata
Implements IProducesResponseTypeMetadata
- Inheritance
-
ProducesResponseTypeMetadata
- Implements
Constructors
ProducesResponseTypeMetadata(Int32, Type, String[]) |
Initializes an instance of ProducesResponseTypeMetadata. |
Properties
ContentTypes |
Gets or sets the content types associated with the response. |
StatusCode |
Gets or sets the HTTP status code of the response. |
Type |
Gets or sets the type of the value returned by an action. |
Methods
ToString() | Returns a string that represents the current object. |