Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / ImmutableCommunicationTimeouts.cs / 1 / ImmutableCommunicationTimeouts.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System; class ImmutableCommunicationTimeouts : IDefaultCommunicationTimeouts { TimeSpan close; TimeSpan open; TimeSpan receive; TimeSpan send; internal ImmutableCommunicationTimeouts() : this(null) { } internal ImmutableCommunicationTimeouts(IDefaultCommunicationTimeouts timeouts) { if (timeouts == null) { this.close = ServiceDefaults.CloseTimeout; this.open = ServiceDefaults.OpenTimeout; this.receive = ServiceDefaults.ReceiveTimeout; this.send = ServiceDefaults.SendTimeout; } else { this.close = timeouts.CloseTimeout; this.open = timeouts.OpenTimeout; this.receive = timeouts.ReceiveTimeout; this.send = timeouts.SendTimeout; } } TimeSpan IDefaultCommunicationTimeouts.CloseTimeout { get { return this.close; } } TimeSpan IDefaultCommunicationTimeouts.OpenTimeout { get { return this.open; } } TimeSpan IDefaultCommunicationTimeouts.ReceiveTimeout { get { return this.receive; } } TimeSpan IDefaultCommunicationTimeouts.SendTimeout { get { return this.send; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Visual.cs
- AssemblyInfo.cs
- SqlClientWrapperSmiStream.cs
- XmlChildEnumerator.cs
- _ListenerResponseStream.cs
- FlowLayoutSettings.cs
- WinFormsComponentEditor.cs
- DesignTimeTemplateParser.cs
- DelegatedStream.cs
- WindowsImpersonationContext.cs
- fixedPageContentExtractor.cs
- SequenceDesigner.xaml.cs
- MonitoringDescriptionAttribute.cs
- ResourceContainer.cs
- ServiceObjectContainer.cs
- DetailsViewInsertedEventArgs.cs
- FontStyles.cs
- DesignerWithHeader.cs
- HierarchicalDataBoundControl.cs
- DataGridParentRows.cs
- Scene3D.cs
- ColorPalette.cs
- XmlEncodedRawTextWriter.cs
- EventSchemaTraceListener.cs
- AbstractExpressions.cs
- SqlAliaser.cs
- XmlAutoDetectWriter.cs
- XPathMessageFilterElement.cs
- BulletDecorator.cs
- IsolatedStorageSecurityState.cs
- jithelpers.cs
- PerformanceCounterManager.cs
- Substitution.cs
- ClientSession.cs
- SerializationSectionGroup.cs
- Variant.cs
- ReferenceEqualityComparer.cs
- SystemSounds.cs
- httpapplicationstate.cs
- CurrentChangingEventManager.cs
- CodeAttributeDeclarationCollection.cs
- OrderByQueryOptionExpression.cs
- ListParagraph.cs
- IApplicationTrustManager.cs
- MediaElement.cs
- DefaultHttpHandler.cs
- QilLiteral.cs
- Dump.cs
- AppDomainUnloadedException.cs
- OperatorExpressions.cs
- SafeNativeHandle.cs
- TableRowGroupCollection.cs
- Misc.cs
- SerTrace.cs
- MailWriter.cs
- DrawingBrush.cs
- DictionaryEntry.cs
- MapPathBasedVirtualPathProvider.cs
- BitStack.cs
- StyleBamlRecordReader.cs
- AlternationConverter.cs
- StandardToolWindows.cs
- NavigatingCancelEventArgs.cs
- ZoneLinkButton.cs
- UnsafeNetInfoNativeMethods.cs
- LineInfo.cs
- XPathAxisIterator.cs
- SingleConverter.cs
- Knowncolors.cs
- CacheMemory.cs
- DocumentReferenceCollection.cs
- Activator.cs
- SystemIPGlobalProperties.cs
- UTF32Encoding.cs
- GifBitmapEncoder.cs
- WriteFileContext.cs
- BaseConfigurationRecord.cs
- ExpressionBindingCollection.cs
- SymbolEqualComparer.cs
- XmlElementAttribute.cs
- BrowserInteropHelper.cs
- SerialPort.cs
- SQLInt16Storage.cs
- BindingObserver.cs
- ComponentFactoryHelpers.cs
- DataBoundLiteralControl.cs
- WorkBatch.cs
- ZoomingMessageFilter.cs
- RawStylusInputReport.cs
- TargetParameterCountException.cs
- HostedHttpContext.cs
- ExpandCollapsePatternIdentifiers.cs
- Label.cs
- RectangleConverter.cs
- ExtendedPropertyCollection.cs
- __Filters.cs
- WebZoneDesigner.cs
- DynamicResourceExtension.cs
- OdbcInfoMessageEvent.cs
- DesignerFrame.cs