Bamboo.Prevalence.PrevalenceEngine.OnExceptionDuringRecovery C# (CSharp) Метод

OnExceptionDuringRecovery() защищенный Метод

Called whenever a exception is thrown by a command during recovery.
Notify the specified delegate of the exception.
protected OnExceptionDuringRecovery ( ExceptionDuringRecoveryHandler handler, ICommand command, Exception exception ) : void
handler ExceptionDuringRecoveryHandler a delegate that should be notified of the exception
command ICommand commands that has thrown the exception
exception System.Exception the exception
Результат void
		protected virtual void OnExceptionDuringRecovery(ExceptionDuringRecoveryHandler handler, ICommand command, Exception exception)
		{
			if (null != handler)
			{
				handler(this, new ExceptionDuringRecoveryEventArgs(command, exception));
			}
			System.Diagnostics.Trace.WriteLine(string.Format("Exception {0} during recovery of the command {1}", exception, command));
		}