Ejemplo n.º 1
0
 internal void OnLoadFail(LoadRequestFailedException exception)
 {
     CacheEntry._stats.OnCompleteFetch(false);
     // the live load failed, set our retry limit.
     //
     Debug.WriteLine("Live load failed for {0} (ID={2}) Message={1}", exception.ObjectType.Name, exception.Message, exception.LoadContext.Identity);
     LoadState = DataLoadState.Failed;
     OnLoadFailed(exception);
 }
Ejemplo n.º 2
0
 internal void OnLoadFail(LoadRequestFailedException exception)
 {
     CacheEntry._stats.OnCompleteFetch(false);
     // the live load failed, set our retry limit.
     //
     Debug.WriteLine("Live load failed for {0} (ID={2}) Message={1}", exception.ObjectType.Name, exception.Message, exception.LoadContext.Identity);
     _loadRetryTime = DateTime.Now.Add(RetryTimeout);
     LoadState = DataLoadState.Failed;
     OnLoadFailed(exception);
 }