public void send_expungeLinkedNotebook(string authenticationToken, string guid) #endif { oprot_.WriteMessageBegin(new TMessage("expungeLinkedNotebook", TMessageType.Call, seqid_)); expungeLinkedNotebook_args args = new expungeLinkedNotebook_args(); args.AuthenticationToken = authenticationToken; args.Guid = guid; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT || NETFX_CORE return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void expungeLinkedNotebook_Process(int seqid, TProtocol iprot, TProtocol oprot) { expungeLinkedNotebook_args args = new expungeLinkedNotebook_args(); args.Read(iprot); iprot.ReadMessageEnd(); expungeLinkedNotebook_result result = new expungeLinkedNotebook_result(); try { result.Success = iface_.expungeLinkedNotebook(args.AuthenticationToken, args.Guid); } 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("expungeLinkedNotebook", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_expungeLinkedNotebook(string authenticationToken, long linkedNotebookId) { oprot_.WriteMessageBegin(new TMessage("expungeLinkedNotebook", TMessageType.Call, seqid_)); expungeLinkedNotebook_args args = new expungeLinkedNotebook_args(); args.AuthenticationToken = authenticationToken; args.LinkedNotebookId = linkedNotebookId; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }