private void OnRaisePublishNotification(object state)
{
try
{
NotificationEventArgs args = (NotificationEventArgs)state;
NotificationEventHandler callback = m_Publish;
if (callback != null && args.Subscription.Id != 0)
{
callback(this, args);
}
}
catch (Exception e)
{
Utils.Trace(e, "Session: Unexpected rrror while raising Notification event.");
}
}
#endregion