public void send_uploadChunk(string location, byte[] chunk) #endif { oprot_.WriteMessageBegin(new TMessage("uploadChunk", TMessageType.Call, seqid_)); uploadChunk_args args = new uploadChunk_args(); args.Location = location; args.Chunk = chunk; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }