protected virtual void OnError(string message, Exception exception)
 {
     if (null != OperationError)
     {
         OperationErrorEventArgs args = new OperationErrorEventArgs
         {
             Message = message,
             InnerException = exception
         };
         OperationError(this, args);
     }
 }
Esempio n. 2
0
 protected virtual void OnError(string message, Exception exception)
 {
     if (null != OperationError)
     {
         OperationErrorEventArgs args = new OperationErrorEventArgs
         {
             Message        = message,
             InnerException = exception
         };
         OperationError(this, args);
     }
 }