示例#1
0
 public void Send(MessageBase message)
 {
     //push ayarları yapılır
     MessageStates = MessageStates.Pending;
     try
     {
         PushMessage push = message as PushMessage;
         MessageStates = MessageStates.Sent;
     }
     catch (Exception ex)
     {
         MessageStates = MessageStates.Failed;
         throw ex;
     }
 }
示例#2
0
        public void Send(MessageBase message)
        {
            //push notify. ayarlari ayarlari yapilir
            MessageState = MessageStates.Pending;
            try
            {
                PushMessage push = message as PushMessage;

                MessageState = MessageStates.Sent;
            }
            catch (Exception ex)
            {
                MessageState = MessageStates.Failed;
                throw ex;
            }
        }