Compartilhar via


3.1.5.3 MTAG_CONNECTION_REQ_DENIED (MsgTag 0x00000003)

When an MTAG_CONNECTION_REQ_DENIED message is received over a session, the MSDTC Connection Manager: OleTx Multiplexing Protocol (CMP) implementation MUST look at the dwConnectionId field of the MsgHeader field of the message, and retrieve the Connection object with the matching Connection ID from the Outgoing Connection Table of the Session object. If no such Connection object exists, the MTAG_CONNECTION_REQ_DENIED message MUST be silently ignored.

Note The MTAG_CONNECTION_REQ_DENIED message does not remove Connection IDs from the Outgoing Connection Table. A Connection ID value can only be reused in a subsequent MTAG_CONNECTION_REQ message after an MTAG_DISCONNECT message has been sent.

Otherwise, the higher-layer protocol MUST be notified of the fact that the connection request was denied for the particular Connection object, along with the value in the Reason field of the message by signaling the Connection Request Denied (section 3.1.7.4.3) event using the Incoming Message Notification Interface as described in section 3.1.1.1.