3.16.4.4.2 ArrivedError (Opnum 8)

The ArrivedError method is implemented by a client and MUST be invoked by the server to notify a message arrival error event.

 void ArrivedError(
   [in] IDispatch* Queue,
   [in] long ErrorCode,
   [in] long Cursor
 );

Queue: A pointer to an IDispatch interface for the MSMQQueue that is associated with the event.

ErrorCode: A long value that specifies the error code. The error code is an HRESULT casted to long.<91>

Cursor: A long value that specifies the value of the cursor option that was specified through the Cursor input parameter passed to the IMSMQQueue4::EnableNotification operation to associate this MSMQEvent with the queue. This parameter corresponds to the MQMSGCURSOR enum as defined in section 2.2.2.8.

This method has no return values.