Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ServiceTimeoutsElement.cs / 1 / ServiceTimeoutsElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.ComponentModel; using System.Configuration; using System.ServiceModel.Description; public sealed partial class ServiceTimeoutsElement : BehaviorExtensionElement { public ServiceTimeoutsElement() { } [ConfigurationProperty(ConfigurationStrings.TransactionTimeout, DefaultValue = ServiceDefaults.TransactionTimeoutString)] [TypeConverter(typeof(TimeSpanOrInfiniteConverter))] [ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] public TimeSpan TransactionTimeout { get { return (TimeSpan)base[ConfigurationStrings.TransactionTimeout]; } set { base[ConfigurationStrings.TransactionTimeout] = value; } } public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); ServiceTimeoutsElement source = (ServiceTimeoutsElement)from; #pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null this.TransactionTimeout = source.TransactionTimeout; } protected internal override object CreateBehavior() { return new ServiceTimeoutsBehavior(this.TransactionTimeout); } public override Type BehaviorType { get { return typeof(ServiceTimeoutsBehavior); } } } } // 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
- LinqToSqlWrapper.cs
- HotSpot.cs
- Attribute.cs
- Span.cs
- SoapDocumentMethodAttribute.cs
- IpcClientManager.cs
- HashCodeCombiner.cs
- BitmapImage.cs
- CommonGetThemePartSize.cs
- Point3DCollectionConverter.cs
- __Error.cs
- StaticExtension.cs
- DESCryptoServiceProvider.cs
- MarkupCompilePass2.cs
- DoubleAnimationUsingPath.cs
- DescriptionAttribute.cs
- SortQuery.cs
- ServiceSecurityAuditBehavior.cs
- ProtocolsConfiguration.cs
- AppSettingsSection.cs
- QilGeneratorEnv.cs
- IsolatedStorageFilePermission.cs
- XPathDescendantIterator.cs
- AnnotationService.cs
- DateTimeFormat.cs
- PowerStatus.cs
- ProviderSettingsCollection.cs
- RequestCachePolicy.cs
- SafeSystemMetrics.cs
- DocumentPageTextView.cs
- TreePrinter.cs
- SafeNativeMethodsOther.cs
- UIElementIsland.cs
- NativeWindow.cs
- SemanticAnalyzer.cs
- ICspAsymmetricAlgorithm.cs
- ComplexPropertyEntry.cs
- UnsafeNativeMethods.cs
- TitleStyle.cs
- RC2.cs
- CommandLibraryHelper.cs
- SimpleHandlerBuildProvider.cs
- UserControlFileEditor.cs
- hresults.cs
- TreeNodeCollection.cs
- ContextToken.cs
- TabItem.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- IsolatedStorageException.cs
- ListItemConverter.cs
- Int64AnimationBase.cs
- XmlElement.cs
- Annotation.cs
- TextComposition.cs
- PenCursorManager.cs
- BitmapPalettes.cs
- QueryExecutionOption.cs
- Boolean.cs
- VersionPair.cs
- WindowsScroll.cs
- _DynamicWinsockMethods.cs
- RadioButtonRenderer.cs
- ProcessStartInfo.cs
- AutoResizedEvent.cs
- DataService.cs
- MimeObjectFactory.cs
- Iis7Helper.cs
- ClonableStack.cs
- Win32SafeHandles.cs
- ProviderSettings.cs
- HttpResponseInternalBase.cs
- BuildResult.cs
- JournalNavigationScope.cs
- HtmlInputText.cs
- SystemException.cs
- ObjectTag.cs
- ToolStripLabel.cs
- Query.cs
- SinglePageViewer.cs
- RequestQueryProcessor.cs
- RIPEMD160.cs
- XmlSchemaProviderAttribute.cs
- FilteredAttributeCollection.cs
- ExpressionBindingsDialog.cs
- SessionStateItemCollection.cs
- _RegBlobWebProxyDataBuilder.cs
- RbTree.cs
- EntityDataSourceReferenceGroup.cs
- GraphicsPathIterator.cs
- Polygon.cs
- XPathNodeList.cs
- BooleanExpr.cs
- HostedTransportConfigurationManager.cs
- GridViewEditEventArgs.cs
- ComponentResourceManager.cs
- LocalFileSettingsProvider.cs
- DatePickerTextBox.cs
- CodeCommentStatementCollection.cs
- BadImageFormatException.cs
- HttpRequest.cs