InterfaceQueuingAttribute Class

Enables queuing support for the marked interface. This class cannot be inherited.

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

'Declaration
<ComVisibleAttribute(False)> _
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=True, AllowMultiple:=True)> _
Public NotInheritable Class InterfaceQueuingAttribute
	Inherits Attribute
'Usage
Dim instance As InterfaceQueuingAttribute

/** @attribute ComVisibleAttribute(false) */ 
/** @attribute AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, Inherited=true, AllowMultiple=true) */ 
public final class InterfaceQueuingAttribute extends Attribute
ComVisibleAttribute(false) 
AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, Inherited=true, AllowMultiple=true) 
public final class InterfaceQueuingAttribute extends Attribute

Calls on this interface will be queued using Message Queuing.

To mark an interface as queued, apply this attribute to the interface using the following syntax: [InterfaceQueuing].

The member methods of a queued interface must fulfill the requirements for queued method calls, such as having no out or ref parameters.

For more information about using attributes, see Extending Metadata Using Attributes.

The following code example shows how to use the InterfaceQueuingAttribute attribute.

No code example is currently available or this language may not be supported.

The following code example shows how to mark a COM+ application as queued at compile time by using the ApplicationQueuing attribute, and enable the COM+ listener by setting the QueueListenerEnabled to true

No code example is currently available or this language may not be supported.

The following code example shows how to use BindToMoniker to run the queued moniker, to get an instance of the recorder, call the method that will be recorded, and force the release of the recorder object, to send the message to the queue.

No code example is currently available or this language may not be supported.

System.Object
   System.Attribute
    System.EnterpriseServices.InterfaceQueuingAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show: