How to configure a COM+ application for queued components

Article translations Article translations
Article ID: 246825 - View products that this article applies to.
This article was previously published under Q246825
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SUMMARY

This article provides steps for configuring your component as a COM+ queued component.

MORE INFORMATION

To configure a component as a COM+ queued component, follow these steps:
  1. Install the component in a COM+ application.
  2. Navigate to the component's interfaces. Select the interface you want to enable for queuing, right-click on the component and select Properties.
  3. Select the Queuing tab and select the Queued attribute. (If the attribute is disabled, see below for more information).
  4. Select OK to close the Properties window.
  5. Navigate to the COM+ application your component is in. Right-click on it and select Properties.
  6. Select the Queuing tab and select the properties for Queued and Listen.
  7. Select OK to close the property sheet for the application.
Now you can call your objects using Queued Components.

If your interface happens to have the Queued attribute disabled check that it doesn't have any functions with OUT parameters, or any Function, Property Get method or ByRef parameter (which is the default in Visual Basic). Since the queued function calls should be "one way', interfaces that return values back are not allowed for queuing.

There are more settings you can specify for your objects which will set the way they handle exceptions or errors. See the "References" section for more information.

REFERENCES

For more detailed information about Queuing exception handling and other issues, see the Queued Components documentation on the following MSDN Web site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cossdk/htm/pgservices_queuedcomponents_8acz.asp

Properties

Article ID: 246825 - Last Review: October 22, 2013 - Revision: 2.1
APPLIES TO
  • Microsoft COM+ 1.0
Keywords: 
kbnosurvey kbarchive kbcomplusqc kbhowto KB246825

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com