Compartir a través de


MvcCompatibilityOptions Clase

Definición

Precaución

This API is obsolete and will be removed in a future version. Consider removing usages.

Tipo de opciones para configurar la aplicación 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
Herencia
MvcCompatibilityOptions
Atributos

Comentarios

La forma principal de configurar la aplicación CompatibilityVersion es llamando a SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion) o SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion).

Constructores

MvcCompatibilityOptions()
Obsoletos.

Tipo de opciones para configurar la aplicación CompatibilityVersion.

Propiedades

CompatibilityVersion
Obsoletos.

Obtiene o establece el objeto configurado CompatibilityVersionde la aplicación.

Se aplica a