MvcCompatibilityOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This API is obsolete and will be removed in a future version. Consider removing usages.
設定應用程式 CompatibilityVersion 的選項類型。
public ref class MvcCompatibilityOptions
public class MvcCompatibilityOptions
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider removing usages.", DiagnosticId="ASP5001", UrlFormat="https://aka.ms/aspnetcore-warnings/{0}")]
public class MvcCompatibilityOptions
type MvcCompatibilityOptions = class
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider removing usages.", DiagnosticId="ASP5001", UrlFormat="https://aka.ms/aspnetcore-warnings/{0}")>]
type MvcCompatibilityOptions = class
Public Class MvcCompatibilityOptions
- 繼承
-
MvcCompatibilityOptions
- 屬性
備註
設定應用程式 CompatibilityVersion 的主要方式是呼叫 SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion) 或 SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion) 。
建構函式
MvcCompatibilityOptions() |
已淘汰.
設定應用程式 CompatibilityVersion 的選項類型。 |
屬性
CompatibilityVersion |
已淘汰.
取得或設定應用程式的設定 CompatibilityVersion 。 |