OutputFormatterCanWriteContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
OutputFormatterCanWriteContext() |
已淘汰.
此建構函式已過時,未來版本將會移除。 請改用 OutputFormatterCanWriteContext(HttpContext)。 |
OutputFormatterCanWriteContext(HttpContext) |
OutputFormatterCanWriteContext()
警告
This constructor is obsolete and will be removed in a future version. Please use the constructor taking a HttpContext instead.
此建構函式已過時,未來版本將會移除。 請改用 OutputFormatterCanWriteContext(HttpContext)。
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)
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。