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.

C#
public InterfaceQueuingAttribute();

Examples

The following code example creates a new InterfaceQueuingAttribute.

C#
[InterfaceQueuing]
public interface IInterfaceQueuingAttribute_Ctor
{
}

Remarks

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

Property Value
Enabled true
Interface null

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

InterfaceQueuingAttribute(Boolean)

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

C#
public InterfaceQueuingAttribute(bool enabled);

Parameters

enabled
Boolean

true to enable queuing support; otherwise, false.

Examples

The following code example creates a new InterfaceQueuingAttribute.

C#
[InterfaceQueuing(true)]
public interface IInterfaceQueuingAttribute_Ctor_Bool
{
}

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1