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