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