Parameters
- obj
- The object to send to the queue.
- label
- The label of the message.
- transactionType
- One of the MessageQueueTransactionType values, describing the type of transaction context to associate with the message.
Exception | Description |
---|---|
System.ArgumentNullException | The label parameter is null. |
MessageQueueTransaction | The Message Queuing application indicated an incorrect transaction usage. |
System.ComponentModel.InvalidEnumArgumentException | The transactionType parameter is not one of the MessageQueueTransactionType members. |
MessageQueueException | The Path property has not been set.-or- An error occurred when accessing a Message Queuing method. |
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