3.17.4.1.35 MaxTimeToReceive (Opnum 41)

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

 [propput] HRESULT MaxTimeToReceive(
   [in] long lMaxTimeToReceive
 );

lMaxTimeToReceive: A long integer that contains the number of seconds allowed for the message to be received from the destination queue; otherwise, it is discarded.

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.TimeToBeReceived to the time duration value of the number of seconds specified in the lMaxTimeToReachQueue input parameter.