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); }
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); }
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); }
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); }
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); }
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); }
private void _tableDependency_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e) // Error bij Table dependency { // throw new NotImplementedException(); }
private void SqlNotification_ErrorEvent(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs msg) { }
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; }
private void _serviceDependency_OnError(object sender, TableDependency.SqlClient.Base.EventArgs.ErrorEventArgs e) { throw e.Error; }