Freigeben über


InterfaceQueuingAttribute-Konstruktor (Boolean)

Initialisiert eine neue Instanz der InterfaceQueuingAttribute-Klasse und deaktiviert dabei optional die Warteschlangenunterstützung.

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

Syntax

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

Dim instance As New InterfaceQueuingAttribute(enabled)
public InterfaceQueuingAttribute (
    bool enabled
)
public:
InterfaceQueuingAttribute (
    bool enabled
)
public InterfaceQueuingAttribute (
    boolean enabled
)
public function InterfaceQueuingAttribute (
    enabled : boolean
)

Parameter

  • enabled
    true, um die Warteschlangenunterstützung zu aktivieren, andernfalls false.

Beispiel

Im folgenden Codebeispiel wird ein neues InterfaceQueuingAttribute erstellt.

<InterfaceQueuing(True)>  _
Public Interface IInterfaceQueuingAttribute_Ctor_Bool
End Interface 'IInterfaceQueuingAttribute_Ctor_Bool
[InterfaceQueuing(true)]
public interface IInterfaceQueuingAttribute_Ctor_Bool
{
}
[InterfaceQueuing(true)]
interface class IInterfaceQueuingAttribute_Ctor_Bool{};
/** @attribute InterfaceQueuing(true)
 */
public interface IInterfaceQueuingAttribute_Ctor_Bool
{
} //IInterfaceQueuingAttribute_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

InterfaceQueuingAttribute-Klasse
InterfaceQueuingAttribute-Member
System.EnterpriseServices-Namespace