다음을 통해 공유


MessageQueueTask Class

Contains the methods and properties used by the Message Queue task. This class cannot be inherited.

네임스페이스: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
어셈블리: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)

구문

‘선언
Public NotInheritable Class MessageQueueTask
    Inherits Task
    Implements IDTSComponentPersist, IMessageQueueTask, IDTSBreakpointSite, IDTSSuspend
public sealed class MessageQueueTask : Task, IDTSComponentPersist, IMessageQueueTask, IDTSBreakpointSite, 
    IDTSSuspend
public ref class MessageQueueTask sealed : public Task, IDTSComponentPersist, IMessageQueueTask, IDTSBreakpointSite, 
    IDTSSuspend
public final class MessageQueueTask extends Task implements IDTSComponentPersist, IMessageQueueTask, 
    IDTSBreakpointSite, IDTSSuspend
public final class MessageQueueTask extends Task implements IDTSComponentPersist, IMessageQueueTask, 
    IDTSBreakpointSite, IDTSSuspend

주의

업데이트된 텍스트:2006년 4월 14일

The Message Queue task class allows an object to send and receive messages to or from a queue of Message Queuing (MSMQ). Participation in distributed transactions is allowed when running the Microsoft Distributed Transaction Coordinator (MSDTC). A single instance of a Message Queue task either sends one message to a specified queue or receives a single message from a specified queue, and also waits, if necessary, for the message to arrive. The following types of messages can be sent:

  • A string message, which is supplied as the value of a property.

  • A data file message, which is generated from the contents of a specified data file.

  • A variables message, which is generated from the names and values of one or more SQL Server Integration Services variables.

The enumeration MQMessageType determines which message format is used by a specific Message Queue task.

For more information, see 메시지 큐 작업.

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 Business Intelligence Development Studio is installed.

ms214871.note(ko-kr,SQL.90).gif중요:
When configuring the Message Queue task to send messages, you can use one of the encryption algorithms that are currently supported by Message Queuing, RC2 and RC4, to encrypt the message. Both of these encryption algorithms are now considered cryptographically weak compared to newer algorithms, which Message Queuing does not yet support. Therefore, you should consider your cryptography needs carefully when sending messages using the Message Queue task.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
     Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MessageQueueTask

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace