Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / BackoffTimeoutHelper.cs / 1305376 / BackoffTimeoutHelper.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime { using System; using System.Threading; sealed class BackoffTimeoutHelper { readonly static int maxSkewMilliseconds = (int)(IOThreadTimer.SystemTimeResolutionTicks / TimeSpan.TicksPerMillisecond); readonly static long maxDriftTicks = IOThreadTimer.SystemTimeResolutionTicks * 2; readonly static TimeSpan defaultInitialWaitTime = TimeSpan.FromMilliseconds(1); readonly static TimeSpan defaultMaxWaitTime = TimeSpan.FromMinutes(1); DateTime deadline; TimeSpan maxWaitTime; TimeSpan waitTime; IOThreadTimer backoffTimer; Action
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SortableBindingList.cs
- XamlPointCollectionSerializer.cs
- FocusManager.cs
- XmlSchemaAppInfo.cs
- DataGridBoolColumn.cs
- TypeElement.cs
- TypeDefinition.cs
- TypeReference.cs
- SynchronousChannel.cs
- ProfilePropertySettingsCollection.cs
- RawKeyboardInputReport.cs
- ComboBox.cs
- ExpressionNode.cs
- BypassElementCollection.cs
- KnownTypeAttribute.cs
- XmlReader.cs
- basevalidator.cs
- CodeMethodReturnStatement.cs
- SecurityDescriptor.cs
- EncryptedXml.cs
- DescriptionAttribute.cs
- SessionEndedEventArgs.cs
- ControlValuePropertyAttribute.cs
- TemplateNodeContextMenu.cs
- InstanceContextManager.cs
- updatecommandorderer.cs
- DataObjectEventArgs.cs
- ProtocolsConfiguration.cs
- Select.cs
- XMLUtil.cs
- TimeZone.cs
- PasswordDeriveBytes.cs
- DocumentGridContextMenu.cs
- PageRanges.cs
- WindowsListViewScroll.cs
- LoginCancelEventArgs.cs
- PartialCachingAttribute.cs
- DeflateStreamAsyncResult.cs
- LeaseManager.cs
- FileDialog.cs
- BinaryCommonClasses.cs
- NativeMethods.cs
- ItemCollection.cs
- VirtualPath.cs
- WindowsFormsHelpers.cs
- SystemIPGlobalStatistics.cs
- ExtendedProperty.cs
- SqlWebEventProvider.cs
- ControllableStoryboardAction.cs
- LinkButton.cs
- EventHandlerService.cs
- FormsAuthenticationCredentials.cs
- SafeLibraryHandle.cs
- LinkUtilities.cs
- TypeBuilderInstantiation.cs
- SymmetricAlgorithm.cs
- Path.cs
- BitmapScalingModeValidation.cs
- SqlDataRecord.cs
- Speller.cs
- MouseGestureConverter.cs
- XPathNavigatorReader.cs
- PropertyStore.cs
- ComplexPropertyEntry.cs
- XmlSchemaAttributeGroup.cs
- SerializeAbsoluteContext.cs
- TreeView.cs
- Dispatcher.cs
- FixedSOMSemanticBox.cs
- ReadContentAsBinaryHelper.cs
- FtpRequestCacheValidator.cs
- log.cs
- WebControlParameterProxy.cs
- FileChangeNotifier.cs
- GrammarBuilder.cs
- remotingproxy.cs
- AutomationProperty.cs
- BitmapEffect.cs
- SQLGuidStorage.cs
- DependencyObject.cs
- MultiPartWriter.cs
- Vector3DValueSerializer.cs
- StorageMappingItemCollection.cs
- MimeWriter.cs
- XsdCachingReader.cs
- DataControlLinkButton.cs
- DebuggerAttributes.cs
- ContractValidationHelper.cs
- XmlChildNodes.cs
- DataBinder.cs
- ConfigurationSettings.cs
- Button.cs
- SpotLight.cs
- PolicyException.cs
- Pair.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- CapacityStreamGeometryContext.cs
- Table.cs
- MemoryResponseElement.cs
- FormClosedEvent.cs