Sdílet prostřednictvím


MvcCompatibilityOptions Třída

Definice

Upozornění

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

Typ možnosti pro konfiguraci aplikace 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
Dědičnost
MvcCompatibilityOptions
Atributy

Poznámky

Primárním způsobem konfigurace aplikací CompatibilityVersion je volání SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion) nebo SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion).

Konstruktory

MvcCompatibilityOptions()
Zastaralé.

Typ možnosti pro konfiguraci aplikace CompatibilityVersion.

Vlastnosti

CompatibilityVersion
Zastaralé.

Získá nebo nastaví nakonfigurovanou CompatibilityVersionaplikaci .

Platí pro