UnsupportedOSPlatformAttribute Konstruktoren

Definition

Überlädt

Name Beschreibung
UnsupportedOSPlatformAttribute(String)

Initialisiert eine neue Instanz der UnsupportedOSPlatformAttribute Attributklasse für die angegebene nicht unterstützte Betriebssystemplattform.

UnsupportedOSPlatformAttribute(String, String)

Initialisiert eine neue Instanz der UnsupportedOSPlatformAttribute Attributklasse für die angegebene nicht unterstützte Betriebssystemplattform mit einer zusätzlichen Meldung.

UnsupportedOSPlatformAttribute(String)

Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs

Initialisiert eine neue Instanz der UnsupportedOSPlatformAttribute Attributklasse für die angegebene nicht unterstützte Betriebssystemplattform.

public:
 UnsupportedOSPlatformAttribute(System::String ^ platformName);
public UnsupportedOSPlatformAttribute(string platformName);
new System.Runtime.Versioning.UnsupportedOSPlatformAttribute : string -> System.Runtime.Versioning.UnsupportedOSPlatformAttribute
Public Sub New (platformName As String)

Parameter

platformName
String

Der Name der nicht unterstützten Betriebssystemplattform, optional einschließlich einer Version.

Gilt für:

UnsupportedOSPlatformAttribute(String, String)

Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs

Initialisiert eine neue Instanz der UnsupportedOSPlatformAttribute Attributklasse für die angegebene nicht unterstützte Betriebssystemplattform mit einer zusätzlichen Meldung.

public:
 UnsupportedOSPlatformAttribute(System::String ^ platformName, System::String ^ message);
public UnsupportedOSPlatformAttribute(string platformName, string? message);
new System.Runtime.Versioning.UnsupportedOSPlatformAttribute : string * string -> System.Runtime.Versioning.UnsupportedOSPlatformAttribute
Public Sub New (platformName As String, message As String)

Parameter

platformName
String

Der Name der nicht unterstützten Betriebssystemplattform, optional einschließlich einer Version.

message
String

Zusätzliche Meldung, die hauptsächlich einen Ersatz für die nicht unterstützte API vorschlägt.

Gilt für: