示例#1
0
 public APIReturn(APIReturnCode APIReturnCode, List <string> MessageList)
 {
     this.Code        = APIReturnCode;
     this.MessageList = MessageList;
     this.StackTrace  = String.Empty;
     this.Description = String.Empty;
 }
示例#2
0
 public APIReturn(APIReturnCode APIReturnCode, Exception ex)
 {
     this.Code        = APIReturnCode;
     this.Message     = ex.Message;
     this.StackTrace  = ex.StackTrace;
     this.Description = String.Empty;
 }
示例#3
0
 public APIReturn(APIReturnCode APIReturnCode, string Message)
 {
     this.Code        = APIReturnCode;
     this.Message     = Message;
     this.StackTrace  = String.Empty;
     this.Description = String.Empty;
 }