Beispiel #1
0
 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
 }
Beispiel #2
0
      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
      }
Beispiel #3
0
 public IAsyncResult send_setNotificationsEnabled(AsyncCallback callback, object state, int reqSeq, MIDType type, string target, bool enablement)
Beispiel #4
0
 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);
 }