IApiResponseMetadataProvider Interface
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.
Provides a return type, status code and a set of possible content types returned by a successful execution of the action.
public interface class IApiResponseMetadataProvider
public interface class IApiResponseMetadataProvider : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata
public interface IApiResponseMetadataProvider
public interface IApiResponseMetadataProvider : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IApiResponseMetadataProvider = interface
type IApiResponseMetadataProvider = interface
interface IFilterMetadata
Public Interface IApiResponseMetadataProvider
Public Interface IApiResponseMetadataProvider
Implements IFilterMetadata
- Derived
- Implements
Properties
StatusCode |
Gets the HTTP status code of the response. |
Type |
Gets the optimistic return type of the action. |
Methods
SetContentTypes(MediaTypeCollection) |
Configures a collection of allowed content types which can be produced by the action. |