void GetNotifications(string notificationKey) { try { if (notificationKey != null && notificationKey.Length > 0) { proxy.GetNotifications(notificationKey); m_NLog.Info("Notification requset : {0} sent to Notificaion Engine at {1}", notificationKey, DateTime.Now.ToLongTimeString()); } } catch (Exception exp) { m_NLog.Error("Error in ISubscribeNotification.GetNotifications(). Error Details : {0}", exp.ToString()); } }
private void button2_Click(object sender, EventArgs e) { proxy.GetNotifications(textBox1.Text); }