Partager via


MvcCompatibilityOptions Classe

Définition

Attention

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

Type d’options pour la configuration de l’application 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
Héritage
MvcCompatibilityOptions
Attributs

Remarques

Le principal moyen de configurer le de l’application CompatibilityVersion consiste à appeler SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion) ou SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion).

Constructeurs

MvcCompatibilityOptions()
Obsolète.

Type d’options pour la configuration de l’application CompatibilityVersion.

Propriétés

CompatibilityVersion
Obsolète.

Obtient ou définit la configuration CompatibilityVersionde l’application .

S’applique à