The NMS Class Library (.Net Messaging Library)

ISession.Rollback Method 

If this is a transactional session then rollback all message send and acknowledgements for producers and consumers in this session

void Rollback();

See Also

ISession Interface | NMS Namespace