InterfaceQueuingAttribute Konstruktorer

Definition

Initierar en ny instans av InterfaceQueuingAttribute klassen, vilket möjliggör köstöd.

Överlagringar

Name Description
InterfaceQueuingAttribute()

Initierar en ny instans av InterfaceQueuingAttribute klassen som anger Enabled egenskaperna och Interface till deras standardvärden.

InterfaceQueuingAttribute(Boolean)

Initierar en ny instans av InterfaceQueuingAttribute klassen och inaktiverar eventuellt stöd för köer.

InterfaceQueuingAttribute()

Initierar en ny instans av InterfaceQueuingAttribute klassen som anger Enabled egenskaperna och Interface till deras standardvärden.

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

Exempel

I följande kodexempel skapas en ny InterfaceQueuingAttribute.

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

Kommentarer

I följande tabell visas inledande egenskapsvärden för en instans av InterfaceQueuingAttribute.

Fastighet Value
Enabled true
Interface null

Gäller för

InterfaceQueuingAttribute(Boolean)

Initierar en ny instans av InterfaceQueuingAttribute klassen och inaktiverar eventuellt stöd för köer.

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

Parametrar

enabled
Boolean

trueför att aktivera stöd för köer. annars . false

Exempel

I följande kodexempel skapas en ny 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

Gäller för