3.17.4.1.47 SenderIdType (Opnum 53)

The SenderIdType method is received by the server in an RPC_REQUEST packet. In response, the server MUST set the represented Message.SenderIdentifierType.

 [propput] HRESULT SenderIdType(
   [in] long lSenderIdType
 );

lSenderIdType: A long integer that identifies the type of identifier that is stored with the message. This parameter corresponds to the MQMSGSENDERIDTYPE enum as defined in section 2.2.2.14.

Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.

When processing this call, the server MUST follow these guidelines:

  • Set the represented Message.SenderIdentifier to the value that maps to the MQMSGSENDERIDTYPE enum contained in the lSenderIdType input parameter.