示例#1
0
 public void send_listNoteVersions(string authenticationToken, string noteGuid)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("listNoteVersions", TMessageType.Call, seqid_));
   listNoteVersions_args args = new listNoteVersions_args();
   args.AuthenticationToken = authenticationToken;
   args.NoteGuid = noteGuid;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
示例#2
0
 public void listNoteVersions_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   listNoteVersions_args args = new listNoteVersions_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   listNoteVersions_result result = new listNoteVersions_result();
   try {
     result.Success = iface_.listNoteVersions(args.AuthenticationToken, args.NoteGuid);
   } 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("listNoteVersions", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
 public void send_listNoteVersions(string authenticationToken, string noteGuid)
 {
   oprot_.WriteMessageBegin(new TMessage("listNoteVersions", TMessageType.Call, seqid_));
   listNoteVersions_args args = new listNoteVersions_args();
   args.AuthenticationToken = authenticationToken;
   args.NoteGuid = noteGuid;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   oprot_.Transport.Flush();
 }