Freigeben über


LoadBalancingSupportedAttribute-Konstruktor (Boolean)

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute-Klasse und deaktiviert optional die Unterstützung für den Lastenausgleich.

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 LoadBalancingSupportedAttribute(val)
public LoadBalancingSupportedAttribute (
    bool val
)
public:
LoadBalancingSupportedAttribute (
    bool val
)
public LoadBalancingSupportedAttribute (
    boolean val
)
public function LoadBalancingSupportedAttribute (
    val : boolean
)

Parameter

  • val
    true, um die Unterstützung für den Lastenausgleich zu aktivieren, andernfalls false.

Beispiel

Im folgenden Codebeispiel wird ein neues LoadBalancingSupportedAttribute erstellt.

<LoadBalancingSupported(False)>  _
Public Class LoadBalancingSupportedAttribute_Ctor_Bool
    Inherits ServicedComponent
End Class 'LoadBalancingSupportedAttribute_Ctor_Bool
[LoadBalancingSupported(false)]
public class LoadBalancingSupportedAttribute_Ctor_Bool : ServicedComponent
{
}
/** @attribute LoadBalancingSupported(false)
 */
public class LoadBalancingSupportedAttribute_Ctor_Bool extends ServicedComponent
{
} //LoadBalancingSupportedAttribute_Ctor_Bool

.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

LoadBalancingSupportedAttribute-Klasse
LoadBalancingSupportedAttribute-Member
System.EnterpriseServices-Namespace