Send(Object,String,MessageQueueTransaction) Method
Sends an object to the transactional queue referenced by this MessageQueue and specifies a label for the message.
Syntax
Parameters
- obj
- The object to send to the queue.
- label
- The label of the message.
- transaction
- The MessageQueueTransaction object.
Exceptions
Exception | Description |
---|---|
System.ArgumentNullException | The label parameter is null.-or- The transaction parameter is null. |
MessageQueueException | The Path property has not been set.-or- The Message Queuing application indicated an incorrect transaction usage.-or- An error occurred when accessing a Message Queuing method. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also