OutputFormatterCanWriteContext 构造函数

定义

重载

OutputFormatterCanWriteContext()
已过时.

此构造函数已过时,将在将来的版本中删除。 请改用 OutputFormatterCanWriteContext(HttpContext)

创建一个新的 OutputFormatterCanWriteContext

OutputFormatterCanWriteContext(HttpContext)

创建一个新的 OutputFormatterCanWriteContext

OutputFormatterCanWriteContext()

Source:
OutputFormatterCanWriteContext.cs
Source:
OutputFormatterCanWriteContext.cs

注意

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)

Source:
OutputFormatterCanWriteContext.cs
Source:
OutputFormatterCanWriteContext.cs
Source:
OutputFormatterCanWriteContext.cs

创建一个新的 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

适用于