public void send_getResourceRecognition(string authenticationToken, string guid)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getResourceRecognition", TMessageType.Call, seqid_));
   getResourceRecognition_args args = new getResourceRecognition_args();
   args.AuthenticationToken = authenticationToken;
   args.Guid = guid;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
 public void getResourceRecognition_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getResourceRecognition_args args = new getResourceRecognition_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getResourceRecognition_result result = new getResourceRecognition_result();
   try {
     result.Success = iface_.getResourceRecognition(args.AuthenticationToken, args.Guid);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   } catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
     result.NotFoundException = notFoundException;
   }
   oprot.WriteMessageBegin(new TMessage("getResourceRecognition", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Beispiel #3
0
 public void send_getResourceRecognition(string authenticationToken, string guid)
 {
     oprot_.WriteMessageBegin(new TMessage("getResourceRecognition", TMessageType.Call, seqid_));
     getResourceRecognition_args args = new getResourceRecognition_args();
     args.AuthenticationToken = authenticationToken;
     args.Guid = guid;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }