private void OnError(string message, Exception ex) { if (null != SearchManagerOperationError) { SearchManagerOperationErrorEventArgs args = new SearchManagerOperationErrorEventArgs { Keyword = _keyword, Message = message, InnerException = ex }; SearchManagerOperationError(this, args); } }