UnsupportedOSPlatformAttribute Constructeurs

Définition

Surcharges

UnsupportedOSPlatformAttribute(String)

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

UnsupportedOSPlatformAttribute(String, String)

Initialise une nouvelle instance de la classe d’attribut UnsupportedOSPlatformAttribute 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

Initialise une nouvelle instance de la classe d’attributs UnsupportedOSPlatformAttribute 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 de système d’exploitation non prise en charge, incluant éventuellement une version.

S’applique à

UnsupportedOSPlatformAttribute(String, String)

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

Initialise une nouvelle instance de la classe d’attribut UnsupportedOSPlatformAttribute 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 de système d’exploitation non prise en charge, incluant éventuellement une version.

message
String

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

S’applique à