OutputFormatterCanWriteContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
OutputFormatterCanWriteContext() |
已过时.
此构造函数已过时,将在将来的版本中删除。 请改用 OutputFormatterCanWriteContext(HttpContext)。 创建一个新的 OutputFormatterCanWriteContext。 |
OutputFormatterCanWriteContext(HttpContext) |
创建一个新的 OutputFormatterCanWriteContext。 |
OutputFormatterCanWriteContext()
注意
This constructor is obsolete and will be removed in a future version. Please use the constructor taking a HttpContext instead.
此构造函数已过时,将在将来的版本中删除。 请改用 OutputFormatterCanWriteContext(HttpContext)。
创建一个新的 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 ()
- 属性
适用于
OutputFormatterCanWriteContext(HttpContext)
创建一个新的 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)
参数
- httpContext
- HttpContext
当前请求的 HttpContext。