ObsoletedOSPlatformAttribute Konstruktoren

Definition

Überlädt

Name Beschreibung
ObsoletedOSPlatformAttribute(String)

Initialisiert eine neue Instanz der ObsoletedOSPlatformAttribute Klasse für die angegebene veraltete Betriebssystemplattform.

ObsoletedOSPlatformAttribute(String, String)

Initialisiert eine neue Instanz der ObsoletedOSPlatformAttribute Attributklasse für die angegebene veraltete Betriebssystemplattform mit einer zusätzlichen Meldung.

ObsoletedOSPlatformAttribute(String)

Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs

Initialisiert eine neue Instanz der ObsoletedOSPlatformAttribute Klasse für die angegebene veraltete Betriebssystemplattform.

public:
 ObsoletedOSPlatformAttribute(System::String ^ platformName);
public ObsoletedOSPlatformAttribute(string platformName);
new System.Runtime.Versioning.ObsoletedOSPlatformAttribute : string -> System.Runtime.Versioning.ObsoletedOSPlatformAttribute
Public Sub New (platformName As String)

Parameter

platformName
String

Der veraltete Betriebssystemplattformname, optional einschließlich einer Version.

Gilt für:

ObsoletedOSPlatformAttribute(String, String)

Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs
Quelle:
PlatformAttributes.cs

Initialisiert eine neue Instanz der ObsoletedOSPlatformAttribute Attributklasse für die angegebene veraltete Betriebssystemplattform mit einer zusätzlichen Meldung.

public:
 ObsoletedOSPlatformAttribute(System::String ^ platformName, System::String ^ message);
public ObsoletedOSPlatformAttribute(string platformName, string? message);
new System.Runtime.Versioning.ObsoletedOSPlatformAttribute : string * string -> System.Runtime.Versioning.ObsoletedOSPlatformAttribute
Public Sub New (platformName As String, message As String)

Parameter

platformName
String

Der veraltete Betriebssystemplattformname, optional einschließlich einer Version.

message
String

Zusätzliche Informationen über die Verschleierung, z. B. eine vorgeschlagene Alternative für die veraltete API.

Gilt für: