Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CacheErrorEventArgs"/> class by using the specified
 /// cache item key and the exception that was raised.
 /// </summary>
 /// <param name="key">The key of the item related with the error.</param>
 /// <param name="exception">The exception that was raised.</param>
 /// <param name="cache_error_state">The state of the cache when the error has occurred.</param>
 public CacheErrorEventArgs(string key, Exception exception, CacheErrorState cache_error_state) {
     key_ = key;
     exception_ = exception;
     cache_error_state_ = cache_error_state;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CacheErrorEventArgs"/> class by using the specified
 /// cache item key and the exception that was raised.
 /// </summary>
 /// <param name="key">The key of the item related with the error.</param>
 /// <param name="exception">The exception that was raised.</param>
 /// <param name="cache_error_state">The state of the cache when the error has occurred.</param>
 public CacheErrorEventArgs(string key, Exception exception, CacheErrorState cache_error_state)
 {
     key_               = key;
     exception_         = exception;
     cache_error_state_ = cache_error_state;
 }