UnsupportedOSPlatformGuardAttribute(String) Constructeur

Définition

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

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

Paramètres

platformName
String

Le nom de la plateforme du système d’exploitation non pris en charge par le membre attribué est protégé, y compris éventuellement une version.

S’applique à