Επεξεργασία

Κοινή χρήση μέσω


InterfaceQueuingAttribute Constructors

Definition

Initializes a new instance of the InterfaceQueuingAttribute class, enabling queuing support.

Overloads

InterfaceQueuingAttribute()

Initializes a new instance of the InterfaceQueuingAttribute class setting the Enabled and Interface properties to their default values.

InterfaceQueuingAttribute(Boolean)

Initializes a new instance of the InterfaceQueuingAttribute class, optionally disabling queuing support.

InterfaceQueuingAttribute()

Initializes a new instance of the InterfaceQueuingAttribute class setting the Enabled and Interface properties to their default values.

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

Examples

The following code example creates a new InterfaceQueuingAttribute.

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

Remarks

The following table shows initial property values for an instance of InterfaceQueuingAttribute.

Property Value
Enabled true
Interface null

Applies to

InterfaceQueuingAttribute(Boolean)

Initializes a new instance of the InterfaceQueuingAttribute class, optionally disabling queuing support.

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

Parameters

enabled
Boolean

true to enable queuing support; otherwise, false.

Examples

The following code example creates a new 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

Applies to