UnsupportedOSPlatformAttribute Konstruktory

Definicja

Przeciążenia

UnsupportedOSPlatformAttribute(String)

Inicjuje UnsupportedOSPlatformAttribute nowe wystąpienie klasy atrybutów dla określonej nieobsługiwanej platformy systemu operacyjnego.

UnsupportedOSPlatformAttribute(String, String)

Inicjuje UnsupportedOSPlatformAttribute nowe wystąpienie klasy atrybutów dla określonej nieobsługiwanej platformy systemu operacyjnego z dodatkowym komunikatem.

UnsupportedOSPlatformAttribute(String)

Źródło:
PlatformAttributes.cs
Źródło:
PlatformAttributes.cs
Źródło:
PlatformAttributes.cs

Inicjuje UnsupportedOSPlatformAttribute nowe wystąpienie klasy atrybutów dla określonej nieobsługiwanej platformy systemu operacyjnego.

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)

Parametry

platformName
String

Nieobsługiwana nazwa platformy systemu operacyjnego, opcjonalnie obejmująca wersję.

Dotyczy

UnsupportedOSPlatformAttribute(String, String)

Źródło:
PlatformAttributes.cs
Źródło:
PlatformAttributes.cs
Źródło:
PlatformAttributes.cs

Inicjuje UnsupportedOSPlatformAttribute nowe wystąpienie klasy atrybutów dla określonej nieobsługiwanej platformy systemu operacyjnego z dodatkowym komunikatem.

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)

Parametry

platformName
String

Nieobsługiwana nazwa platformy systemu operacyjnego, opcjonalnie obejmująca wersję.

message
String

Dodatkowy komunikat, który w większości sugeruje zastąpienie nieobsługiwanego interfejsu API.

Dotyczy