public void Process() { Hashtable result = new Hashtable(1); string key = _key as string; CallbackEntry cbEntry = null; if (_opCode == OpCode.Clear) { key = string.Empty; } try { bool flag = _parent.WriteThru(_internalCache, key, _entry, _opCode, new OperationContext(OperationContextFieldName.OperationType, OperationContextOperationType.CacheOperation)); _internalCache.DoWrite("IWriteBehindTask.Process", "taskId=" + _taskId + "operation result=" + (flag ? "true" : "false"), new OperationContext(OperationContextFieldName.OperationType, OperationContextOperationType.CacheOperation)); result.Add(key, flag ? "1" : "0"); } catch (Exception exception) { if (_internalCache.Context.Logger.IsErrorEnabled) { _internalCache.Context.Logger.Error(("WriteBehindTask.Process: " + exception.Message).GetFormatter()); } result.Add(key, exception); } if ((_entry != null) && (_entry.Value is CallbackEntry)) { cbEntry = _entry.Value as CallbackEntry; } try { _internalCache.NotifyWriteBehindTaskStatus(_opCode, result, cbEntry, _taskId, _providerName, new OperationContext(OperationContextFieldName.OperationType, OperationContextOperationType.CacheOperation)); } catch { } }