UnsupportedOSPlatformGuardAttribute(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.