コード例 #1
0
ファイル: Database.cs プロジェクト: nihilus/idaas
 public List<IdaRef> recv_xrefsTo()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   xrefsTo_result result = new xrefsTo_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "xrefsTo failed: unknown result");
 }