public void send_updateLinkedNotebook(string authenticationToken, Evernote.EDAM.Type.LinkedNotebook linkedNotebook) #endif { oprot_.WriteMessageBegin(new TMessage("updateLinkedNotebook", TMessageType.Call, seqid_)); updateLinkedNotebook_args args = new updateLinkedNotebook_args(); args.AuthenticationToken = authenticationToken; args.LinkedNotebook = linkedNotebook; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT || NETFX_CORE return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void updateLinkedNotebook_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateLinkedNotebook_args args = new updateLinkedNotebook_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateLinkedNotebook_result result = new updateLinkedNotebook_result(); try { result.Success = iface_.updateLinkedNotebook(args.AuthenticationToken, args.LinkedNotebook); } 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("updateLinkedNotebook", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_updateLinkedNotebook(string authenticationToken, Evernote.EDAM.Type.LinkedNotebook linkedNotebook) { oprot_.WriteMessageBegin(new TMessage("updateLinkedNotebook", TMessageType.Call, seqid_)); updateLinkedNotebook_args args = new updateLinkedNotebook_args(); args.AuthenticationToken = authenticationToken; args.LinkedNotebook = linkedNotebook; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }