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