I understand now, I can cancel sending using service.RemoveMessage(msgId)
method.


On Wed, Feb 8, 2012 at 3:26 PM, rainier lugue <[email protected]>wrote:

>     Hi all,
>
>     I am using .net version of smslib, my question is: Is there's a
> way to cancel messages that are queued:
>     in my code below _cancelledSmsList contains ids of sms that are
> to be cancelled.
>
>      public class QueueSendingNotification :
> IQueueSendingNotification
>        {
>            public void process(AGateway gateway, OutboundMessage msg)
>            {
>                string messageId = msg.getId;
>                if(_cancelledSmsList.contains(messageId))
>                {
>                         //cancel sending of  this message
>                 }
>            }
>        }
>
> Thanks,
> Rainier




-- 
___________________

-»»»-- r a i n i e r --«««-

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to