Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities.DurableInstancing / System / Activities / DurableInstancing / LockRecoveryTask.cs / 1305376 / LockRecoveryTask.cs
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------
namespace System.Activities.DurableInstancing
{
using System;
class LockRecoveryTask : PersistenceTask
{
public LockRecoveryTask(SqlWorkflowInstanceStore store, SqlWorkflowInstanceStoreLock storeLock, TimeSpan taskInterval)
: base(store, storeLock, new RecoverInstanceLocksCommand(), taskInterval, true)
{
}
protected override void HandleError(Exception exception)
{
if (TD.InstanceLocksRecoveryErrorIsEnabled())
{
TD.InstanceLocksRecoveryError(exception);
}
base.ResetTimer(false);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableLayoutStyle.cs
- ExtensionWindowHeader.cs
- WebServiceHostFactory.cs
- HttpException.cs
- NameValuePermission.cs
- Point3DAnimationUsingKeyFrames.cs
- XmlReader.cs
- PlaceHolder.cs
- XmlComment.cs
- SHA384Managed.cs
- OdbcConnectionString.cs
- DoubleIndependentAnimationStorage.cs
- EffectiveValueEntry.cs
- DeriveBytes.cs
- ToolStripDropDownButton.cs
- uribuilder.cs
- OrderByQueryOptionExpression.cs
- ScriptIgnoreAttribute.cs
- HttpClientProtocol.cs
- MatrixCamera.cs
- OraclePermission.cs
- DecoderExceptionFallback.cs
- XmlDataSourceView.cs
- ErrorStyle.cs
- ExceptionHandlersDesigner.cs
- InstanceHandle.cs
- MonthCalendar.cs
- XmlILAnnotation.cs
- ContentDesigner.cs
- ReferenceList.cs
- OptionalMessageQuery.cs
- MyContact.cs
- WeakHashtable.cs
- HtmlInputFile.cs
- LogoValidationException.cs
- DesignerDataStoredProcedure.cs
- ExtenderProvidedPropertyAttribute.cs
- SemanticBasicElement.cs
- NumberFormatInfo.cs
- Security.cs
- XmlWrappingWriter.cs
- SpnegoTokenAuthenticator.cs
- ServiceModelConfigurationSectionGroup.cs
- DefaultPropertyAttribute.cs
- MergePropertyDescriptor.cs
- CustomErrorsSectionWrapper.cs
- ConnectionPoint.cs
- PartialTrustVisibleAssembliesSection.cs
- BaseTemplateParser.cs
- DataGridState.cs
- ExtentCqlBlock.cs
- ItemsControl.cs
- PointLightBase.cs
- XDeferredAxisSource.cs
- Button.cs
- HttpHeaderCollection.cs
- JumpPath.cs
- Size.cs
- IPipelineRuntime.cs
- NumberAction.cs
- DesignerProperties.cs
- GridViewSelectEventArgs.cs
- _NestedSingleAsyncResult.cs
- DesignerCategoryAttribute.cs
- LocalizableResourceBuilder.cs
- HtmlLinkAdapter.cs
- SessionStateModule.cs
- HttpFileCollection.cs
- DuplicateWaitObjectException.cs
- _ProxyRegBlob.cs
- GradientStop.cs
- NetworkInformationException.cs
- SystemWebCachingSectionGroup.cs
- ConstraintEnumerator.cs
- Speller.cs
- externdll.cs
- linebase.cs
- XmlSortKey.cs
- Stroke2.cs
- EmissiveMaterial.cs
- UserControlDesigner.cs
- PenThreadWorker.cs
- Assembly.cs
- AssemblyInfo.cs
- NamedObject.cs
- Rotation3D.cs
- Win32.cs
- ValidatorCollection.cs
- SslStream.cs
- SpellerInterop.cs
- ProbeDuplexAsyncResult.cs
- DesignerEditorPartChrome.cs
- StringConcat.cs
- AudioStateChangedEventArgs.cs
- RootBrowserWindowProxy.cs
- BuildDependencySet.cs
- IRCollection.cs
- LongMinMaxAggregationOperator.cs
- PostBackTrigger.cs
- MessageContractImporter.cs