UnsupportedOSPlatformAttribute Constructors
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.
Overloads
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. |
UnsupportedOSPlatformAttribute(String)
- 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
UnsupportedOSPlatformAttribute(String, String)
- 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
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre