|
| [C#] | |
|
Release
(String NotificationID)
|
|
| NotificationID |
| Notification ID |
|
| | //Create personalizer object and Session object |
| | PersonalizerRef.Personalizer pers = new PersonalizerRef.Personalizer()
; |
| | SessionRef.Session sess = new SessionRef.Session()
; |
| | string SessionID = ""; |
| | try{ |
| | SessionID = pers.CreateSession("LogonName", "Password"); |
| | //Create SMS notification object |
| | SMSRef.SMS objSMS = new SMSRef.SMS()
; |
| | // Create server notification object |
| | string SMSNotifID = sess.CreateSMSNotification(SessionID); |
| | objSMS.Send(SMSNotifID, "+11005118196", "This is SMS Notification Message"); |
| | objSMS.Release(SMSNotifID); |
| | sess.Release(SessionID); |
| | } |
| | catch(Exception e){ |
| | //Print exception message e.Message |
| | sess.Release(SessionID); |
| | } |