Freigeben über


ConstructionEnabledAttribute-Konstruktor (Boolean)

Initialisiert eine neue Instanz der ConstructionEnabledAttribute-Klasse und legt Enabled auf den angegebenen Wert fest.

Namespace: System.EnterpriseServices
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)

Syntax

'Declaration
Public Sub New ( _
    val As Boolean _
)
'Usage
Dim val As Boolean

Dim instance As New ConstructionEnabledAttribute(val)
public ConstructionEnabledAttribute (
    bool val
)
public:
ConstructionEnabledAttribute (
    bool val
)
public ConstructionEnabledAttribute (
    boolean val
)
public function ConstructionEnabledAttribute (
    val : boolean
)

Parameter

  • val
    true, wenn die Konstruktionsunterstützung für COM+-Objekte aktiviert werden soll, andernfalls false.

.NET Framework-Sicherheit

  • Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter .

Plattformen

Windows 98, Windows 2000 SP4, 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: 2.0, 1.1, 1.0

Siehe auch

Referenz

ConstructionEnabledAttribute-Klasse
ConstructionEnabledAttribute-Member
System.EnterpriseServices-Namespace