Sending Messages to a Queue (COM)
A version of this page is also available for
4/8/2010
Sending messages is an asynchronous operation that requires opening the destination queue and sending the message.
The body of an Message Queuing message can be any intrinsic variant, including string, date, currency, any number type, an array of bytes, as well as any persistent COM object that supports IDispatch and IPersist (IPersistStream or IPersistStorage).
For examples on | See |
---|---|
Sending a string |
|
Sending a date |
|
Sending a currency |
|
Sending a number |
|
Sending an array of bytes |
|
Sending a persistent object in a message |
|
Sending a data recordset in a message |
|
Sending messages that return Message Queuing acknowledgment messages |
|
Sending messages that request an application-defined response message |
|
Sending an application-defined response message |
|
Sending a single message within an implicit internal transaction |
|
Sending a file as a message |
See Also
Concepts
MSMQ COM Support
Using the COM Components
MSMQ Security