MsgClass (Opnum 72)

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

 [propput] HRESULT MsgClass(
   [in] long lMsgClass

lMsgClass: A long integer that identifies the message type. This parameter corresponds to the MQMSGCLASS (section enum.

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.Class to the value that maps to the MQMSGCLASS enum contained in the lMsgClass input parameter.