Esempio n. 1
0
 public void unsetNoteApplicationDataEntry_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   unsetNoteApplicationDataEntry_args args = new unsetNoteApplicationDataEntry_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   unsetNoteApplicationDataEntry_result result = new unsetNoteApplicationDataEntry_result();
   try {
     result.Success = iface_.unsetNoteApplicationDataEntry(args.AuthenticationToken, args.Guid, args.Key);
   } 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("unsetNoteApplicationDataEntry", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Esempio n. 2
0
 public void send_unsetNoteApplicationDataEntry(string authenticationToken, string guid, string key)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("unsetNoteApplicationDataEntry", TMessageType.Call, seqid_));
   unsetNoteApplicationDataEntry_args args = new unsetNoteApplicationDataEntry_args();
   args.AuthenticationToken = authenticationToken;
   args.Guid = guid;
   args.Key = key;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }