public APIReturn(APIReturnCode APIReturnCode, List <string> MessageList) { this.Code = APIReturnCode; this.MessageList = MessageList; this.StackTrace = String.Empty; this.Description = String.Empty; }
public APIReturn(APIReturnCode APIReturnCode, Exception ex) { this.Code = APIReturnCode; this.Message = ex.Message; this.StackTrace = ex.StackTrace; this.Description = String.Empty; }
public APIReturn(APIReturnCode APIReturnCode, string Message) { this.Code = APIReturnCode; this.Message = Message; this.StackTrace = String.Empty; this.Description = String.Empty; }