public void send_setNotificationsEnabled(int reqSeq, MIDType type, string target, bool enablement) #endif { oprot_.WriteMessageBegin(new TMessage("setNotificationsEnabled", TMessageType.Call, seqid_)); setNotificationsEnabled_args args = new setNotificationsEnabled_args(); args.ReqSeq = reqSeq; args.Type = type; args.Target = target; args.Enablement = enablement; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void setNotificationsEnabled(int reqSeq, MIDType type, string target, bool enablement) { #if !SILVERLIGHT send_setNotificationsEnabled(reqSeq, type, target, enablement); recv_setNotificationsEnabled(); #else var asyncResult = Begin_setNotificationsEnabled(null, null, reqSeq, type, target, enablement); End_setNotificationsEnabled(asyncResult); #endif }
public IAsyncResult send_setNotificationsEnabled(AsyncCallback callback, object state, int reqSeq, MIDType type, string target, bool enablement)
public IAsyncResult Begin_setNotificationsEnabled(AsyncCallback callback, object state, int reqSeq, MIDType type, string target, bool enablement) { return send_setNotificationsEnabled(callback, state, reqSeq, type, target, enablement); }