public TSLibraryException(ErrCode.Enum errCode, string message, Exception inner) : base(message, inner) { ErrCode = errCode; }
// Following the examples provided in MSDN documentation of the System.Exception class, // the following constructors are overrides of the constructor in the base class. public TSLibraryException(ErrCode.Enum errCode) : base() { ErrCode = errCode; }