Exemple #1
0
 private void SchedMonitor_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     if (_schedMonitor != null)
     {
         _schedMonitor.OnChanged       -= _SchedMonitor_OnChanged;
         _schedMonitor.OnStatusChanged -= SchedMonitor_OnStatusChanged;
         _schedMonitor.OnError         -= SchedMonitor_OnError;
         _schedMonitor = null;
     }
     HandleTableMonitorError("SchedMonitor", e);
 }
Exemple #2
0
 private void _taskDefMonitor_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     if (_taskDefMonitor != null)
     {
         _taskDefMonitor.OnChanged       -= _taskDefMonitor_OnChanged;
         _taskDefMonitor.OnStatusChanged -= _taskDefMonitor_OnStatusChanged;
         _taskDefMonitor.OnError         -= _taskDefMonitor_OnError;
         _taskDefMonitor = null;
     }
     HandleTableMonitorError("TaskMonitor", e);
 }
Exemple #3
0
 private void DataPointDefMonitor_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     if (_dataPointDefMonitor != null)
     {
         _dataPointDefMonitor.OnChanged       -= _dataPointDefMonitor_OnChanged;
         _dataPointDefMonitor.OnStatusChanged -= DataPointDefMonitor_OnStatusChanged;
         _dataPointDefMonitor.OnError         -= DataPointDefMonitor_OnError;
         _dataPointDefMonitor = null;
     }
     HandleTableMonitorError("DataPointDefMonitor", e);
 }
Exemple #4
0
 private void RequestGroupDefMonitor_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     if (_requestGroupDefMonitor != null)
     {
         _requestGroupDefMonitor.OnChanged       -= _requestGroupMonitor_OnChanged;
         _requestGroupDefMonitor.OnStatusChanged -= RequestGroupDefMonitor_OnStatusChanged;
         _requestGroupDefMonitor.OnError         -= RequestGroupDefMonitor_OnError;
         _requestGroupDefMonitor = null;
     }
     HandleTableMonitorError("RequestGroupDefMonitor", e);
 }
Exemple #5
0
 private void _subscriptionMonitor_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     if (_subscriptionMonitor != null)
     {
         _subscriptionMonitor.OnChanged       -= _subscriptionMonitor_OnChanged;
         _subscriptionMonitor.OnStatusChanged -= _subscriptionMonitor_OnStatusChanged;
         _subscriptionMonitor.OnError         -= _subscriptionMonitor_OnError;
         _subscriptionMonitor = null;
     }
     HandleTableMonitorError("Subscriptions", e);
 }
Exemple #6
0
 private void ConnectionDefMonitor_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     if (_connectionDefMonitor != null)
     {
         _connectionDefMonitor.OnChanged       -= _connectionDefMonitor_OnChanged;
         _connectionDefMonitor.OnStatusChanged -= ConnectionDefMonitor_OnStatusChanged;
         _connectionDefMonitor.OnError         -= ConnectionDefMonitor_OnError;
         _connectionDefMonitor = null;
     }
     HandleTableMonitorError("ConnectionDef", e);
 }
Exemple #7
0
 private void _tableDependency_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 // Error bij Table dependency
 {
     //  throw new NotImplementedException();
 }
Exemple #8
0
 private void SqlNotification_ErrorEvent(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs msg)
 {
 }
Exemple #9
0
 private void HandleTableMonitorError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     Globals.SystemManager.LogApplicationError(Globals.FDANow(), e.Error, "Error reported by SQLTableDependency : " + e.Message);
 }
        private static void TableDependency_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
        {
            Exception ex = e.Error;

            throw ex;
        }
Exemple #11
0
 private void _serviceDependency_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e)
 {
     throw e.Error;
 }