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。 |