示例#1
0
        private System.IAsyncResult OnBeginHandleException(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string message         = ((string)(inValues[0]));
            string additionalInfo  = ((string)(inValues[1]));
            string applicationName = ((string)(inValues[2]));

            CrawlDaddy.Core.BILoggerService.LogTypeEnum   logType   = ((CrawlDaddy.Core.BILoggerService.LogTypeEnum)(inValues[3]));
            CrawlDaddy.Core.BILoggerService.LogActionEnum logAction = ((CrawlDaddy.Core.BILoggerService.LogActionEnum)(inValues[4]));
            string source = ((string)(inValues[5]));
            string title  = ((string)(inValues[6]));
            string url    = ((string)(inValues[7]));
            string user   = ((string)(inValues[8]));
            string server = ((string)(inValues[9]));

            return(this.BeginHandleException(message, additionalInfo, applicationName, logType, logAction, source, title, url, user, server, callback, asyncState));
        }
示例#2
0
 public void HandleExceptionAsync(string message, string additionalInfo, string applicationName, CrawlDaddy.Core.BILoggerService.LogTypeEnum logType, CrawlDaddy.Core.BILoggerService.LogActionEnum logAction, string source, string title, string url, string user, string server, object userState)
 {
     if ((this.onBeginHandleExceptionDelegate == null))
     {
         this.onBeginHandleExceptionDelegate = new BeginOperationDelegate(this.OnBeginHandleException);
     }
     if ((this.onEndHandleExceptionDelegate == null))
     {
         this.onEndHandleExceptionDelegate = new EndOperationDelegate(this.OnEndHandleException);
     }
     if ((this.onHandleExceptionCompletedDelegate == null))
     {
         this.onHandleExceptionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnHandleExceptionCompleted);
     }
     base.InvokeAsync(this.onBeginHandleExceptionDelegate, new object[] {
         message,
         additionalInfo,
         applicationName,
         logType,
         logAction,
         source,
         title,
         url,
         user,
         server
     }, this.onEndHandleExceptionDelegate, this.onHandleExceptionCompletedDelegate, userState);
 }
示例#3
0
 public void HandleExceptionAsync(string message, string additionalInfo, string applicationName, CrawlDaddy.Core.BILoggerService.LogTypeEnum logType, CrawlDaddy.Core.BILoggerService.LogActionEnum logAction, string source, string title, string url, string user, string server)
 {
     this.HandleExceptionAsync(message, additionalInfo, applicationName, logType, logAction, source, title, url, user, server, null);
 }
示例#4
0
 public System.IAsyncResult BeginHandleException(string message, string additionalInfo, string applicationName, CrawlDaddy.Core.BILoggerService.LogTypeEnum logType, CrawlDaddy.Core.BILoggerService.LogActionEnum logAction, string source, string title, string url, string user, string server, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginHandleException(message, additionalInfo, applicationName, logType, logAction, source, title, url, user, server, callback, asyncState));
 }