public NackMessage(long id, NackTypes type, int errorcode) { _id = id; _type = type; _errorCode = errorcode; }
/// <summary> /// Builds an NACK message to acknowledge a message with a negative response /// </summary> /// <param name="id">ID of the message to acknowledge</param> /// <param name="type">Type of the not-acknowledge message</param> public NackMessage(long id, NackTypes type) { _id = id; _type = type; _errorCode = Int32.MinValue; }