OutputFormatterCanWriteContext Constructors
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.
Overloads
OutputFormatterCanWriteContext() |
Obsolete.
This constructor is obsolete and will be removed in a future version. Please use OutputFormatterCanWriteContext(HttpContext) instead. Creates a new OutputFormatterCanWriteContext. |
OutputFormatterCanWriteContext(HttpContext) |
Creates a new OutputFormatterCanWriteContext. |
OutputFormatterCanWriteContext()
Caution
This constructor is obsolete and will be removed in a future version. Please use the constructor taking a HttpContext instead.
This constructor is obsolete and will be removed in a future version. Please use OutputFormatterCanWriteContext(HttpContext) instead.
Creates a new OutputFormatterCanWriteContext.
protected:
OutputFormatterCanWriteContext();
protected OutputFormatterCanWriteContext ();
[System.Obsolete("This constructor is obsolete and will be removed in a future version. Please use the constructor taking a HttpContext instead.")]
protected OutputFormatterCanWriteContext ();
Protected Sub New ()
- Attributes
Applies to
OutputFormatterCanWriteContext(HttpContext)
Creates a new OutputFormatterCanWriteContext.
protected:
OutputFormatterCanWriteContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
protected OutputFormatterCanWriteContext (Microsoft.AspNetCore.Http.HttpContext httpContext);
new Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext
Protected Sub New (httpContext As HttpContext)
Parameters
- httpContext
- HttpContext
The HttpContext for the current request.