UnsupportedOSPlatformAttribute(String) Constructor

Definition

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

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)

Parameters

platformName
String

The unsupported OS platform name, optionally including a version.

Applies to