UnsupportedOSPlatformAttribute Constructors

Definitie

Overloads

Name Description
UnsupportedOSPlatformAttribute(String)

Initialiseert een nieuw exemplaar van de UnsupportedOSPlatformAttribute kenmerkklasse voor het opgegeven niet-ondersteunde besturingssysteemplatform.

UnsupportedOSPlatformAttribute(String, String)

Initialiseert een nieuw exemplaar van de UnsupportedOSPlatformAttribute kenmerkklasse voor het opgegeven niet-ondersteunde besturingssysteemplatform met een extra bericht.

UnsupportedOSPlatformAttribute(String)

Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs

Initialiseert een nieuw exemplaar van de UnsupportedOSPlatformAttribute kenmerkklasse voor het opgegeven niet-ondersteunde besturingssysteemplatform.

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

De niet-ondersteunde naam van het besturingssysteemplatform, eventueel inclusief een versie.

Van toepassing op

UnsupportedOSPlatformAttribute(String, String)

Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs
Bron:
PlatformAttributes.cs

Initialiseert een nieuw exemplaar van de UnsupportedOSPlatformAttribute kenmerkklasse voor het opgegeven niet-ondersteunde besturingssysteemplatform met een extra bericht.

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

De niet-ondersteunde naam van het besturingssysteemplatform, eventueel inclusief een versie.

message
String

Extra bericht dat voornamelijk een vervanging voor de niet-ondersteunde API voorstelt.

Van toepassing op