UnsupportedOSPlatformAttribute Constructeurs

Définition

Surcharges

Nom Description
UnsupportedOSPlatformAttribute(String)

Initialise une nouvelle instance de la UnsupportedOSPlatformAttribute classe d’attribut pour la plateforme de système d’exploitation non prise en charge spécifiée.

UnsupportedOSPlatformAttribute(String, String)

Initialise une nouvelle instance de la UnsupportedOSPlatformAttribute classe d’attributs pour la plateforme de système d’exploitation non prise en charge spécifiée avec un message supplémentaire.

UnsupportedOSPlatformAttribute(String)

Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs

Initialise une nouvelle instance de la UnsupportedOSPlatformAttribute classe d’attribut pour la plateforme de système d’exploitation non prise en charge spécifiée.

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)

Paramètres

platformName
String

Nom de la plateforme du système d’exploitation non pris en charge, y compris éventuellement une version.

S’applique à

UnsupportedOSPlatformAttribute(String, String)

Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs
Source:
PlatformAttributes.cs

Initialise une nouvelle instance de la UnsupportedOSPlatformAttribute classe d’attributs pour la plateforme de système d’exploitation non prise en charge spécifiée avec un message supplémentaire.

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)

Paramètres

platformName
String

Nom de la plateforme du système d’exploitation non pris en charge, y compris éventuellement une version.

message
String

Message supplémentaire qui suggère principalement un remplacement de l’API non prise en charge.

S’applique à