편집

다음을 통해 공유


UnsupportedOSPlatformGuardAttribute(String) Constructor

Definition

Initializes a new instance of the UnsupportedOSPlatformGuardAttribute attribute class for the specified unsupported OS platform.

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)

Parameters

platformName
String

The unsupported OS platform name the attributed member would guard, optionally including a version.

Applies to