Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace
This namespace contains the members required to create a Message Queue task.
| Class | Description | |
|---|---|---|
![]() | DataFileMessage | Contains the members used to generate a message for the Message Queue Task when the TaskType is DTSMQMessageType_DataFile. |
![]() | EncryptionAlgorithmWrapper | Describes the type of encryption, if any, that the Message Queue task uses. |
![]() | Formatter | Contains the formatter used to serialize an object into or deserialize an object from the body of a message read from or written to the queue. |
![]() | MessageQueueTask | Contains the methods and properties used by the Message Queue task. This class cannot be inherited. |
![]() | ServCompMQTask | This API supports the product infrastructure and is not intended to be used directly from your code. Contains the service component for the Message Queue task. |
![]() | StringFormatter | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a string formatter for the message. |
![]() | Variable2KFormatter | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a variable formatter. |
![]() | Version | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the task version. |
| Interface | Description | |
|---|---|---|
![]() | IMessageQueueTask | This API supports the product infrastructure and is not intended to be used directly from your code. Represents an interface for the MessageQueueTask. |
| Enumeration | Description | |
|---|---|---|
![]() | MQMessageType | Describes the message type when the TaskType is set to a value of DTSMQType_Sender. |
![]() | MQStringMessageCompare | Contains values that control the method of comparison that is used by the Message Queue task when the Message Queue task is receiving a message. To receive a message, the TaskType must be set to DTSMQType_Receiver, and the message type must be set to DTSMQMessageType_String. |
![]() | MQType | Indicates if the Message Queue task is sending or receiving a message. |
![]() | MSMQLog | Specifies the events that are used for logging with the Message Queue task. |
For the MessageQueueTask to work in either the API or in SSIS Designer, you must install SQL Server Integration Services. This feature will not work if only SQL Server Data Tools is installed.


