Code:
/ 4.0 / 4.0 / untmp / 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
- HeaderedItemsControl.cs
- PropertyGridEditorPart.cs
- FormViewUpdateEventArgs.cs
- DatagridviewDisplayedBandsData.cs
- SmiEventSink.cs
- DictionaryKeyPropertyAttribute.cs
- LabelAutomationPeer.cs
- HtmlInputFile.cs
- SafeTimerHandle.cs
- ProviderIncompatibleException.cs
- WebPartManager.cs
- SQLBinaryStorage.cs
- DispatchProxy.cs
- NameValueFileSectionHandler.cs
- Interfaces.cs
- ImportContext.cs
- ModelItemCollectionImpl.cs
- MachineKeyValidationConverter.cs
- MetadataPropertyAttribute.cs
- CharacterShapingProperties.cs
- KeyNotFoundException.cs
- HttpRequestTraceRecord.cs
- SymbolType.cs
- ZipPackage.cs
- ExpressionValueEditor.cs
- Popup.cs
- FrameworkContentElementAutomationPeer.cs
- ShortcutKeysEditor.cs
- SqlDataSourceCommandEventArgs.cs
- RelationshipNavigation.cs
- FreezableDefaultValueFactory.cs
- Validator.cs
- CodeTryCatchFinallyStatement.cs
- AutomationTextAttribute.cs
- HttpFileCollectionWrapper.cs
- NavigationHelper.cs
- XNodeValidator.cs
- FilePrompt.cs
- XmlHelper.cs
- DecimalStorage.cs
- AssemblyNameUtility.cs
- BitSet.cs
- KeysConverter.cs
- TagMapInfo.cs
- Update.cs
- MsmqTransportReceiveParameters.cs
- Range.cs
- MarshalByValueComponent.cs
- XamlPathDataSerializer.cs
- BasicDesignerLoader.cs
- StylusDownEventArgs.cs
- HostProtectionException.cs
- TextSelectionHelper.cs
- SQLBoolean.cs
- TreeViewImageKeyConverter.cs
- SmtpNegotiateAuthenticationModule.cs
- MDIClient.cs
- ColorConverter.cs
- HMACSHA512.cs
- ValidationContext.cs
- XmlAttributes.cs
- SymLanguageType.cs
- MultiDataTrigger.cs
- SendKeys.cs
- MessageQueuePermission.cs
- GridView.cs
- DisplayToken.cs
- HtmlGenericControl.cs
- PeerApplication.cs
- ChtmlTextWriter.cs
- FolderNameEditor.cs
- PackageDigitalSignature.cs
- TextTreeText.cs
- ResourceProperty.cs
- LoginCancelEventArgs.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- PropertyTabAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- WebPartDeleteVerb.cs
- DuplexChannelBinder.cs
- SyndicationSerializer.cs
- CharUnicodeInfo.cs
- IIS7UserPrincipal.cs
- RegexGroupCollection.cs
- ValidationHelper.cs
- UrlPath.cs
- DataKey.cs
- ControlValuePropertyAttribute.cs
- path.cs
- Visual3DCollection.cs
- RoleGroup.cs
- ApplicationGesture.cs
- ContainerUIElement3D.cs
- FramingEncoders.cs
- HtmlDocument.cs
- FixedSOMContainer.cs
- ComplexTypeEmitter.cs
- RowToFieldTransformer.cs
- DiscoveryClientDuplexChannel.cs
- GridViewEditEventArgs.cs