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
- ShaderEffect.cs
- CompoundFileStorageReference.cs
- XmlSigningNodeWriter.cs
- LineVisual.cs
- MasterPage.cs
- StateManager.cs
- DataGridViewColumnEventArgs.cs
- UnsafeNativeMethods.cs
- wgx_render.cs
- DataGridViewDesigner.cs
- UnaryNode.cs
- CodeCatchClause.cs
- DebugHandleTracker.cs
- RNGCryptoServiceProvider.cs
- DataGridViewCellStyleConverter.cs
- SqlTypeSystemProvider.cs
- ImageField.cs
- TraceSource.cs
- CompiledXpathExpr.cs
- Icon.cs
- PipelineDeploymentState.cs
- XmlHierarchicalEnumerable.cs
- OleDbTransaction.cs
- PixelFormats.cs
- GlyphInfoList.cs
- ControlCachePolicy.cs
- RuntimeHandles.cs
- ImageKeyConverter.cs
- ProjectionPlan.cs
- ExtensionWindowHeader.cs
- BypassElementCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- TextTreeRootNode.cs
- SQlBooleanStorage.cs
- XmlEntity.cs
- TrustSection.cs
- RsaKeyIdentifierClause.cs
- TargetConverter.cs
- Utils.cs
- SqlParameter.cs
- TableLayout.cs
- GridProviderWrapper.cs
- FormDesigner.cs
- DocumentPageTextView.cs
- SecurityElement.cs
- LineSegment.cs
- DateTimeFormatInfo.cs
- InvalidComObjectException.cs
- exports.cs
- _KerberosClient.cs
- AttributeData.cs
- HwndSource.cs
- WebPartZoneBase.cs
- CLSCompliantAttribute.cs
- SmiRequestExecutor.cs
- XLinq.cs
- isolationinterop.cs
- MappingException.cs
- ControlBuilderAttribute.cs
- WebScriptMetadataInstanceContextProvider.cs
- GacUtil.cs
- DataStorage.cs
- SocketElement.cs
- ZipIOCentralDirectoryBlock.cs
- ImageProxy.cs
- LineSegment.cs
- HitTestWithPointDrawingContextWalker.cs
- InternalConfigHost.cs
- OdbcHandle.cs
- VersionedStreamOwner.cs
- StickyNoteHelper.cs
- Point3DAnimationUsingKeyFrames.cs
- HttpHandler.cs
- Bidi.cs
- SchemaElementLookUpTableEnumerator.cs
- Imaging.cs
- DateTimeSerializationSection.cs
- TemplateApplicationHelper.cs
- SingleObjectCollection.cs
- BitmapVisualManager.cs
- CqlErrorHelper.cs
- SyndicationItem.cs
- XmlQueryCardinality.cs
- ExtensibleClassFactory.cs
- ErrorBehavior.cs
- ObjectView.cs
- TraceSwitch.cs
- RepeaterCommandEventArgs.cs
- TreeBuilder.cs
- ObjectListGeneralPage.cs
- XmlWrappingReader.cs
- AuthenticationManager.cs
- RelationshipConstraintValidator.cs
- MutexSecurity.cs
- ResourceDisplayNameAttribute.cs
- Splitter.cs
- NameTable.cs
- SizeConverter.cs
- DropSourceBehavior.cs
- ActivationProxy.cs