UnsupportedOSPlatformAttribute Constructors
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.
UnsupportedOSPlatformAttribute(String) |
Initializes a new instance of the UnsupportedOSPlatformAttribute attribute class for the specified unsupported OS platform. |
UnsupportedOSPlatformAttribute(String, String) |
Initializes a new instance of the UnsupportedOSPlatformAttribute attribute class for the specified unsupported OS platform with an additional message. |
- Source:
- PlatformAttributes.cs
- Source:
- PlatformAttributes.cs
- Source:
- PlatformAttributes.cs
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
.NET 10 i druge verzije
Proizvod | Verzije |
---|---|
.NET | 5, 6, 7, 8, 9, 10 |
- Source:
- PlatformAttributes.cs
- Source:
- PlatformAttributes.cs
- Source:
- PlatformAttributes.cs
Initializes a new instance of the UnsupportedOSPlatformAttribute attribute class for the specified unsupported OS platform with an additional message.
public:
UnsupportedOSPlatformAttribute(System::String ^ platformName, System::String ^ message);
public UnsupportedOSPlatformAttribute(string platformName, string? message);
new System.Runtime.Versioning.UnsupportedOSPlatformAttribute : string * string -> System.Runtime.Versioning.UnsupportedOSPlatformAttribute
Public Sub New (platformName As String, message As String)
Parameters
- platformName
- String
The unsupported OS platform name, optionally including a version.
- message
- String
Additional message that mostly suggests a replacement for the unsupported API.
Applies to
.NET 10 i druge verzije
Proizvod | Verzije |
---|---|
.NET | 7, 8, 9, 10 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: