public void send_finishFileUpload(string location) #endif { oprot_.WriteMessageBegin(new TMessage("finishFileUpload", TMessageType.Call, seqid_)); finishFileUpload_args args = new finishFileUpload_args(); args.Location = location; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void finishFileUpload_Process(int seqid, TProtocol iprot, TProtocol oprot) { finishFileUpload_args args = new finishFileUpload_args(); args.Read(iprot); iprot.ReadMessageEnd(); finishFileUpload_result result = new finishFileUpload_result(); try { iface_.finishFileUpload(args.Location); } catch (AuthorizationException aze) { result.Aze = aze; } oprot.WriteMessageBegin(new TMessage("finishFileUpload", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }