Freigeben über


AssemblyFlagsAttribute-Konstruktor (UInt32)

HINWEIS: Dieser Konstruktor ist mittlerweile veraltet. Die nicht veraltete Alternative ist AssemblyFlagsAttribute(AssemblyNameFlags).

Initialisiert eine neue Instanz der AssemblyFlagsAttribute-Klasse mit der angegebenen Kombination von AssemblyNameFlags-Flags, die in einen Ganzzahlwert ohne Vorzeichen umgewandelt wurden.

Dieser Konstruktor ist nicht CLS-kompatibel.  Der CLS-kompatible Alternative ist AssemblyFlagsAttribute(AssemblyNameFlags).

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
<ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")> _
<CLSCompliantAttribute(False)> _
Public Sub New ( _
    flags As UInteger _
)
'Usage
Dim flags As UInteger

Dim instance As New AssemblyFlagsAttribute(flags)
[ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")] 
[CLSCompliantAttribute(false)] 
public AssemblyFlagsAttribute (
    uint flags
)
[ObsoleteAttribute(L"This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")] 
[CLSCompliantAttribute(false)] 
public:
AssemblyFlagsAttribute (
    unsigned int flags
)
/** @attribute ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202") */ 
/** @attribute CLSCompliantAttribute(false) */ 
public AssemblyFlagsAttribute (
    UInt32 flags
)
ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202") 
CLSCompliantAttribute(false) 
public function AssemblyFlagsAttribute (
    flags : uint
)

Parameter

  • flags
    Eine bitweise Kombination von AssemblyNameFlags-Flags, die in einen Ganzzahlwert ohne Vorzeichen umgewandelt wurden. Diese Flags stehen für JIT-Compileroptionen (Just In Time) sowie Gültigkeitsdauer und geben an, ob eine Assembly erneut zugewiesen werden kann und ob sie einen vollen bzw. einen mit Token versehenen öffentlichen Schlüssel besitzt.

Hinweise

Dieser nicht typisierte Konstruktor ist veraltet. Nicht verwenden.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0

.NET Compact Framework

Unterstützt in: 1.0
Veraltet (Compilerwarnung) in 2.0

Siehe auch

Referenz

AssemblyFlagsAttribute-Klasse
AssemblyFlagsAttribute-Member
System.Reflection-Namespace