UnsupportedOSPlatformAttribute Konstruktorer

Definition

Överlagringar

Name Description
UnsupportedOSPlatformAttribute(String)

Initierar en ny instans av attributklassen UnsupportedOSPlatformAttribute för den angivna os-plattformen som inte stöds.

UnsupportedOSPlatformAttribute(String, String)

Initierar en ny instans av attributklassen UnsupportedOSPlatformAttribute för den angivna os-plattformen som inte stöds med ytterligare ett meddelande.

UnsupportedOSPlatformAttribute(String)

Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs

Initierar en ny instans av attributklassen UnsupportedOSPlatformAttribute för den angivna os-plattformen som inte stöds.

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)

Parametrar

platformName
String

Det os-plattformsnamn som inte stöds, om du vill inkludera en version.

Gäller för

UnsupportedOSPlatformAttribute(String, String)

Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs
Källa:
PlatformAttributes.cs

Initierar en ny instans av attributklassen UnsupportedOSPlatformAttribute för den angivna os-plattformen som inte stöds med ytterligare ett meddelande.

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)

Parametrar

platformName
String

Det os-plattformsnamn som inte stöds, om du vill inkludera en version.

message
String

Ytterligare meddelande som främst föreslår en ersättning för API:et som inte stöds.

Gäller för