UnsupportedOSPlatformGuardAttribute(String) Konstruktor

Definition

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

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)

Parametrar

platformName
String

Det os-plattformsnamn som inte stöds som den tilldelade medlemmen skulle skydda, om du vill inkludera en version.

Gäller för