Partilhar via


MvcCompatibilityOptions Classe

Definição

Cuidado

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

Um tipo de opções para configurar o aplicativo 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
Herança
MvcCompatibilityOptions
Atributos

Comentários

A principal maneira de configurar o do CompatibilityVersion aplicativo é chamando SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion) ou SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion).

Construtores

MvcCompatibilityOptions()
Obsoleto.

Um tipo de opções para configurar o aplicativo CompatibilityVersion.

Propriedades

CompatibilityVersion
Obsoleto.

Obtém ou define o aplicativo configurado CompatibilityVersion.

Aplica-se a