示例#1
0
 public void getNoteStoreUrl_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getNoteStoreUrl_args args = new getNoteStoreUrl_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getNoteStoreUrl_result result = new getNoteStoreUrl_result();
   try {
     result.Success = iface_.getNoteStoreUrl(args.AuthenticationToken);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   }
   oprot.WriteMessageBegin(new TMessage("getNoteStoreUrl", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
示例#2
0
 public void send_getNoteStoreUrl(string authenticationToken)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getNoteStoreUrl", TMessageType.Call, seqid_));
   getNoteStoreUrl_args args = new getNoteStoreUrl_args();
   args.AuthenticationToken = authenticationToken;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }