Język

MvcCompatibilityOptions Klasa

Definicja

Uwaga

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

Typ opcji konfigurowania aplikacji 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
Dziedziczenie
MvcCompatibilityOptions
Atrybuty

Uwagi

Podstawowym sposobem konfigurowania aplikacji CompatibilityVersion jest wywołanie metody SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion) lub SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion).

Konstruktory

Nazwisko Opis
MvcCompatibilityOptions()
Przestarzałe.

Typ opcji konfigurowania aplikacji CompatibilityVersion.

Właściwości

Nazwisko Opis
CompatibilityVersion
Przestarzałe.

Pobiera lub ustawia skonfigurowaną CompatibilityVersionaplikację .

Dotyczy