完善全部注释
大石头 authored at 2018-10-16 15:46:31
484.00 B
NewLife.RocketMQ
using System;

namespace NewLife.RocketMQ.Protocol
{
    /// <summary>响应异常</summary>
    public class ResponseException : Exception
    {
        /// <summary>响应代码</summary>
        public Int32 Code { get; set; }

        /// <summary>实例化响应异常</summary>
        /// <param name="code"></param>
        /// <param name="message"></param>
        public ResponseException(Int32 code, String message) : base(code + ": " + message) => Code = code;
    }
}