Partager via


Membres MessageQueueTask

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

Le type MessageQueueTask expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique MessageQueueTask Initializes a new instance of the MessageQueueTask class.

Haut de la page

Méthodes

  Nom Description
Méthode publique AcceptBreakpointManager Passes a BreakpointManager to a task. This method is called by the runtime and is not used in code.
Méthode publique CanUpdate *** Member deprecated; see Remarks. ***    A Boolean that indicates whether the new package XML can update the old package XML. (Hérité de Task.)
Méthode publique Equals Determines whether two object instances are equal. (Hérité de DtsObject.)
Méthode publique Execute Runs the task. (Se substitue à Task. . :: . .Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object).)
Méthode protégée Finalize (Hérité de Object.)
Méthode publique GetConnectionID Gets a String containing the ID of the connection. (Hérité de Task.)
Méthode publique GetConnectionName Gets a String containing the name of the connection. (Hérité de Task.)
Méthode publique GetHashCode Returns the hash code for this instance. (Hérité de DtsObject.)
Méthode publique GetType (Hérité de Object.)
Méthode publique InitializeTask Initializes the properties associated with the task. This method is called by the runtime and is not used in code. (Se substitue à Task. . :: . .InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker).)
Méthode publique LoadFromXML This method is not callable by your application code. To load a package saved in XML format (with the.xml file name extension), use the Application..::..LoadPackage method.
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode publique ResumeExecution Resumes execution of the task after pausing. Execution of the task or container is resumed by the runtime engine.
Méthode publique SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Méthode publique SuspendExecution Indicates that the executable needs to suspend. This method is called by the runtime engine.
Méthode publique ToString (Hérité de Object.)
Méthode publique Update *** Member deprecated; see Remarks. ***    This method updates the old package XML with the new package XML if CanUpdate is set to true. (Hérité de Task.)
Méthode publique Validate Verifies that the task is properly configured. (Se substitue à Task. . :: . .Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging).)

Haut de la page

Propriétés

  Nom Description
Propriété publique CurrentExecutingPackageID Gets or sets the ID of the current executing package.
Propriété publique DataFileOverWritable Gets or sets a Boolean that indicates whether the data file message can overwrite an existing data file.
Propriété publique DebugMode Gets or sets a Boolean that indicates whether the object is in debug mode, and whether it should raise the OnBreakpointHit event while running.
Propriété publique DTSMessageLineageID Gets or sets the message lineage identifier.
Propriété publique DTSMessagePackageID Gets or sets the identifier of the package that is the source of the message.
Propriété publique DTSMessageVersionID Gets or sets the version of the message.
Propriété publique EncryptionAlgo Gets or sets the name of the encryption algorithm used to encrypt the message body of a private message.
Propriété publique ErrorIfMessageTimeOut Gets or sets a Boolean specifying whether the task fails when the message times out.
Propriété publique ExecutionValue Returns a user-defined object. This field is read-only. (Hérité de Task.)
Propriété publique MessageDataFile Gets or sets the data file name used when the MessageType is set to DTSMQMessageType_DataFile.
Propriété publique MessageString Gets or sets the message to use when the MessageType is set to DTSMQMessageType_String.
Propriété publique MessageType Gets or sets a value that indicates the type of message being sent when the TaskType is DTSMQType_Sender.
Propriété publique MessageVariables Gets or sets the variables list when the MQMessageType enumeration is set to DTSMQMessageType_Variables.
Propriété publique MsmqConnection Gets or sets the name of the connection for the MSMQ task.
Propriété publique OperationDescription Gets or sets the description of the operation.
Propriété publique ReceiveMessageTimeOut Gets or sets a value that specifies the number of seconds before a received message times out.
Propriété publique ReceiveMessageType Gets or sets an MQMessageType value that indicates the message type to receive.
Propriété publique ReceiveVariableMessage Gets or sets the name of the variable in which to store the message.
Propriété publique RemoveFromQueue Gets or sets a Boolean that specifies whether the message should be removed from the queue.
Propriété publique SaveDataFileName Gets or sets the name of the file to which an incoming Data File message is saved.
Propriété publique StringCompareType A value that specifies the string comparison method for a String message type when the TaskType is DTSMQType_Receiver.
Propriété publique StringCompareValue Gets or sets the String to which a string message is compared to when the TaskType is DTSMQType_Receiver.
Propriété publique StringMessageToVariableName Gets or sets the name of the variable to which the message contents are saved.
Propriété publique SuspendRequired Gets or sets a Boolean that indicates if the task should suspend when it encounters a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
Propriété publique TaskType Gets or sets a value that indicates whether the message task is sending or receiving.
Propriété publique Use2000Format Gets or sets a Boolean indicating that the message uses SQL Server 2000 format.
Propriété publique UseEncryption Gets or sets a Boolean indicating whether the message uses encryption.
Propriété publique Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (Hérité de Task.)

Haut de la page