public void requestEmailConfirmation_Process(int seqid, TProtocol iprot, TProtocol oprot) { requestEmailConfirmation_args args = new requestEmailConfirmation_args(); args.Read(iprot); iprot.ReadMessageEnd(); requestEmailConfirmation_result result = new requestEmailConfirmation_result(); try { result.Success = iface_.requestEmailConfirmation(args.EmailConfirmation); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("requestEmailConfirmation", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_requestEmailConfirmation(EmailConfirmation emailConfirmation) #endif { oprot_.WriteMessageBegin(new TMessage("requestEmailConfirmation", TMessageType.Call, seqid_)); requestEmailConfirmation_args args = new requestEmailConfirmation_args(); args.EmailConfirmation = emailConfirmation; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }