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