HOWTO: Configuring a COM+ Application for Queued Components

ID: Q246825


The information in this article applies to:
  • Microsoft COM+, version 1.0


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

See the Queued Components documentation on MSDN for more detailed information on Queuing exception handling and other issues.

Additional query words: QC COM+ VB

Keywords : kbCOMPlus kbComPlusQC
Version : :1.0
Platform :
Issue type : kbhowto


Last Reviewed: January 13, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.