InterfaceQueuingAttribute Constructeurs

Définition

Initialise une nouvelle instance de la classe, ce qui active la prise en charge de la InterfaceQueuingAttribute mise en file d’attente.

Surcharges

Nom Description
InterfaceQueuingAttribute()

Initialise une nouvelle instance de la InterfaceQueuingAttribute classe définissant les propriétés et Enabled les Interface valeurs par défaut.

InterfaceQueuingAttribute(Boolean)

Initialise une nouvelle instance de la classe, en désactivant éventuellement la prise en charge de la InterfaceQueuingAttribute mise en file d’attente.

InterfaceQueuingAttribute()

Initialise une nouvelle instance de la InterfaceQueuingAttribute classe définissant les propriétés et Enabled les Interface valeurs par défaut.

public:
 InterfaceQueuingAttribute();
public InterfaceQueuingAttribute();
Public Sub New ()

Exemples

L’exemple de code suivant crée un nouveau InterfaceQueuingAttribute.

[InterfaceQueuing]
interface class IInterfaceQueuingAttribute_Ctor{};
[InterfaceQueuing]
public interface IInterfaceQueuingAttribute_Ctor
{
}
<InterfaceQueuing()>  _
Public Interface IInterfaceQueuingAttribute_Ctor
End Interface 'IInterfaceQueuingAttribute_Ctor

Remarques

Le tableau suivant présente les valeurs de propriété initiales d’une instance de InterfaceQueuingAttribute.

Propriété Valeur
Activé true
Interface null

S’applique à

InterfaceQueuingAttribute(Boolean)

Initialise une nouvelle instance de la classe, en désactivant éventuellement la prise en charge de la InterfaceQueuingAttribute mise en file d’attente.

public:
 InterfaceQueuingAttribute(bool enabled);
public InterfaceQueuingAttribute(bool enabled);
new System.EnterpriseServices.InterfaceQueuingAttribute : bool -> System.EnterpriseServices.InterfaceQueuingAttribute
Public Sub New (enabled As Boolean)

Paramètres

enabled
Boolean

true pour activer la prise en charge de la mise en file d’attente ; sinon, false.

Exemples

L’exemple de code suivant crée un nouveau InterfaceQueuingAttribute.

[InterfaceQueuing(true)]
interface class IInterfaceQueuingAttribute_Ctor_Bool{};
[InterfaceQueuing(true)]
public interface IInterfaceQueuingAttribute_Ctor_Bool
{
}
<InterfaceQueuing(True)>  _
Public Interface IInterfaceQueuingAttribute_Ctor_Bool
End Interface 'IInterfaceQueuingAttribute_Ctor_Bool

S’applique à