3.17.4.1.1 Class (Opnum 7)

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

 [propget] HRESULT Class(
   [out, retval] long* plClass
 );

plClass: A pointer to a long that identifies the message type. This parameter corresponds to the MQMSGCLASS (section 2.2.2.9) 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 plClass output parameter to the MQMSGCLASS enum that maps to the value of the represented Message.Class.