3.17.4.1 IMSMQMessage4 Interface
The IMSMQMessage4 interface provides methods for sending messages to queue(s). The version for this interface is 1.0.
There are three previous versions of this interface: IMSMQMessage, IMSMQMessage2, and IMSMQMessage3. These previous versions are nearly identical, with somewhat fewer methods. All differences from previous versions are described in Windows Behavior notes in the method descriptions that follow.
To receive incoming remote calls for this interface, the server MUST implement a DCOM object class with the CLSID {d7d6e075-dccd-11d0-aa4b-0060970debae} (coclass MSMQMessage as specified in section 1.9), which implements the IMSMQMessage4 interface by using the UUID {eba96b23-2168-11d3-898c-00e02c074f6b}.
The following opnum table begins at opnum 7. Opnums 0 through 2 are inherited from the IUnknown interface as specified in [MS-DCOM] section 3.1.1.5.8. Opnums 3 through 6 are inherited from the IDispatch interface as specified in [MS-OAUT] section 3.1.4.
Methods in RPC Opnum Order
Method |
Description |
---|---|
Returns the message type. Opnum: 7 |
|
Returns the privacy level of the message. Opnum: 8 |
|
Sets the privacy level of the message. Opnum: 9 |
|
Returns the authentication level of the message. Opnum: 10 |
|
Sets the authentication level of the message. Opnum: 11 |
|
Returns a Boolean indicating whether the message was authenticated at the request of the sending application. Opnum: 12 |
|
Returns the message delivery guarantee. Opnum: 13 |
|
Sets the message delivery guarantee. Opnum: 14 |
|
Returns an MQMSGTRACE enum indicating whether the message tracing feature is enabled for the message. Opnum: 15 |
|
Sets the requested level of tracing. Opnum: 16 |
|
Returns the message priority. Opnum: 17 |
|
Sets the message priority. Opnum: 18 |
|
Returns the requested journaling setting. Opnum: 19 |
|
Sets the requested journaling setting. Opnum: 20 |
|
Returns an MSMQQueueInfo object that represents the Queue that will receive response messages from the receiving application. Opnum: 21 |
|
Sets the queue that will receive response messages from the receiving application. The client MUST pass an MSMQQueueInfo object that represents the Queue. Opnum: 22 |
|
Returns an application-specific value. Opnum: 23 |
|
Sets an application-specific value. Opnum: 24 |
|
Returns the GUID identifier of the source computer that sent the message. Opnum: 25 |
|
Returns the length of the message body. Opnum: 26 |
|
Returns the body of the message. Opnum: 27 |
|
Sets the body of the message. Opnum: 28 |
|
Returns the Queue that will receive system generated acknowledgment and error messages. Opnum: 29 |
|
Sets the Queue that will receive system-generated acknowledgment and error messages. Opnum: 30 |
|
Returns the unique system-generated message identifier. Opnum: 31 |
|
Returns the application-specific correlation identifier. Opnum: 32 |
|
Sets the application-specific correlation identifier. Opnum: 33 |
|
Returns the type of acknowledgment message that will be posted for the message. Opnum: 34 |
|
Sets the type of acknowledgment message that will be posted for the message. Opnum: 35 |
|
Returns the application-specific description of the message. Opnum: 36 |
|
Sets the application-specific description of the message. Opnum: 37 |
|
Returns the maximum number of seconds for the message to reach the queue. Opnum: 38 |
|
Sets the maximum number of seconds for the message to reach the queue. Opnum: 39 |
|
Returns the maximum number of seconds for the message to be received from the queue. Opnum: 40 |
|
Sets the maximum number of seconds for the message to be received from the queue. Opnum: 41 |
|
Returns the hashing algorithm used when authenticating the message. Opnum: 42 |
|
Sets the hashing algorithm used when authenticating the message. Opnum: 43 |
|
Returns the encryption algorithm used to encrypt the body of a message when encryption is requested. Opnum: 44 |
|
Sets the encryption algorithm used to encrypt the body of a message when encryption is requested. Opnum: 45 |
|
Returns the UTC time that the message was sent. Opnum: 46 |
|
Returns the UTC time that the message arrived in the Queue. Opnum: 47 |
|
Returns the Queue to which the message is addressed.<100> Opnum: 48 |
|
Returns the user certificate that is used to authenticate the message. Opnum: 49 |
|
Sets the user certificate that is used to authenticate the message. Opnum: 50 |
|
Returns the identifier of the sending user. Opnum: 51 |
|
Returns the type of sender identifier used. Opnum: 52 |
|
Sets the type of sender identifier used. Opnum: 53 |
|
Sends the message. Opnum: 54 |
|
Stores a cached copy of all the information required to attach a certificate to a message for authentication. If the values are not specified, it will query the directory for the values. Opnum: 55 |
|
Returns the version of transfer used to send the message.<101> Opnum: 56 |
|
Returns application-specific information that is associated with the message.<102> Opnum: 57 |
|
Sets application-specific information that is associated with the message.<103> Opnum: 58 |
|
Returns an application-specific GUID that is used to identify the connector application.<104> Opnum: 59 |
|
Sets an application-specific GUID that is used to identify the connector application.<105> Opnum: 60 |
|
Returns the Queue to which connector applications will send acknowledgment messages when sending to a foreign transactional queue.<106><107> Opnum: 61 |
|
Returns the symmetric key used to encrypt the message.<108> Opnum: 62 |
|
Sets the symmetric key used to encrypt the message.<109> Opnum: 63 |
|
Returns the digital signature that is attached to the message.<110> Opnum: 64 |
|
Sets the digital signature that is attached to the message.<111> Opnum: 65 |
|
Returns the type of cryptographic provider used to generate the digital signature that is attached to the message.<112> Opnum: 66 |
|
Sets the type of cryptographic provider used to generate the digital signature that is attached to the message.<113> Opnum: 67 |
|
Returns the name of the cryptographic provider used to generate the digital signature that is attached to the message.<114> Opnum: 68 |
|
Sets the name of the cryptographic provider used to generate the digital signature that is attached to the message.<115> Opnum: 69 |
|
Sets the identifier of the sending user.<116> Opnum: 70 |
|
Returns the message type.<117> Opnum: 71 |
|
Sets the message type.<118> Opnum: 72 |
|
This method is not implemented.<119> Opnum: 73 |
|
Returns the identifier of the transaction within the scope of which this message was sent.<120> Opnum: 74 |
|
Returns an indicator of whether the message was the first message sent in the transaction.<121> Opnum: 75 |
|
Returns an indicator of whether the message was the last message sent in the transaction.<122> Opnum: 76 |
|
Returns the Queue that will receive response messages from the receiving application.<123> Opnum: 77 |
|
Sets the Queue that will receive response messages from the receiving application.<124> Opnum: 78 |
|
Returns the Queue that will receive system-generated acknowledgment messages.<125> Opnum: 79 |
|
Sets the Queue that will receive system-generated acknowledgment messages.<126> Opnum: 80 |
|
ReceivedAuthenticationLevel, get ReceivedAuthenticationLevel |
Returns an indicator specifying if the message was authenticated and what digital signature was used.<127> Opnum: 81 |
Returns the Queue that will receive response messages from the receiving application.<128><129> Opnum: 82 |
|
Sets the Queue that will receive response messages from the receiving application.<130><131> Opnum: 83 |
|
Returns the Queue that will receive message queuing generated acknowledgment messages.<132><133> Opnum: 84 |
|
Sets the Queue that will receive message queuing generated acknowledgment messages.<134><135> Opnum: 85 |
|
Returns the destination that represents 0 or more Queues that will receive response messages from the receiving application.<136> Opnum: 86 |
|
Sets the destination that represents 0 or more Queues that will receive response messages from the receiving application.<137> Opnum: 87 |
|
Returns the destination that represents 0 or more Queues that the Message will be sent to.<138> Opnum: 88 |
|
Returns the lookup identifier for the message.<139> Opnum: 89 |
|
Returns whether the message was authenticated at the request of the sending application.<140> Opnum: 90 |
|
Returns an indicator of whether the message was the first message sent in the transaction.<141> Opnum: 91 |
|
Returns an indicator of whether the message was the last message sent in the transaction.<142> Opnum: 92 |
|
Stores a cached copy of all the information required to attach a certificate to a message for authentication. If the values are not specified, it will query the Directory for the values.<143> Opnum: 93 |
|
Returns the SOAP envelope attached to an SRMP message.<144> Opnum: 94 |
|
Returns the entire SRMP message, including the SOAP envelope and SOAP attachments.<145> Opnum: 95 |
|
Sets additional application-specific header elements for inclusion in the SOAP envelope of an SRMP message.<146> Opnum: 96 |
|
Sets additional application-specific body elements for inclusion in the SOAP envelope of an SRMP message.<147> Opnum: 97 |