Esempio n. 1
0
 /// <summary>
 /// 会话超时事件处理
 /// </summary>
 /// <param name="serviceResponseMessage"></param>
 protected void SessionTimeoutErrorHandler(ServiceResponseMessage serviceResponseMessage, Exception exception)
 {
     if (OnSessionTimeouted != null)
     {
         OnSessionTimeouted(serviceResponseMessage, exception);
         //CanvelPendingRequests();
     }
 }
 public ServiceResponse(ServiceResponseMessage respMessage, Exception ex, bool opCancelled)
 {
     _message = respMessage;
     _exception = ex;
     operationCancelled = opCancelled;
 }
 public ServiceResponse(ServiceResponseMessage respMessage, Exception ex)
 {
     _message = respMessage;
     _exception = ex;
     operationCancelled = false;
 }