Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / CallbackTimeoutsElement.cs / 1 / CallbackTimeoutsElement.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 CallbackTimeoutsElement : BehaviorExtensionElement { public CallbackTimeoutsElement() { } [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); CallbackTimeoutsElement source = (CallbackTimeoutsElement)from; #pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null this.TransactionTimeout = source.TransactionTimeout; } protected internal override object CreateBehavior() { CallbackTimeoutsBehavior behavior = new CallbackTimeoutsBehavior(); behavior.TransactionTimeout = this.TransactionTimeout; return behavior; } public override Type BehaviorType { get { return typeof(CallbackTimeoutsBehavior); } } } } // 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
- PropertyIDSet.cs
- IndependentAnimationStorage.cs
- Item.cs
- ScriptComponentDescriptor.cs
- IisTraceWebEventProvider.cs
- LogicalCallContext.cs
- DataListItemCollection.cs
- InputLanguageManager.cs
- Expression.cs
- PaperSize.cs
- DiscoveryUtility.cs
- TagMapCollection.cs
- MetadataHelper.cs
- Tracking.cs
- CopyEncoder.cs
- StylusOverProperty.cs
- FrameworkElementFactoryMarkupObject.cs
- BlurBitmapEffect.cs
- InternalDuplexBindingElement.cs
- TextFormatterContext.cs
- FloaterBaseParaClient.cs
- NavigationHelper.cs
- PropertyTabChangedEvent.cs
- CodeSnippetExpression.cs
- RMPermissions.cs
- ArcSegment.cs
- TaskHelper.cs
- PanelStyle.cs
- TreeView.cs
- RightsManagementEncryptionTransform.cs
- DeferredSelectedIndexReference.cs
- ScrollBar.cs
- HostSecurityManager.cs
- TextTreeNode.cs
- UserNameSecurityTokenAuthenticator.cs
- SafeThreadHandle.cs
- thaishape.cs
- RequestCachePolicy.cs
- ProfileProvider.cs
- RuleSettingsCollection.cs
- XamlBuildProvider.cs
- EmptyQuery.cs
- typedescriptorpermissionattribute.cs
- StdValidatorsAndConverters.cs
- Deflater.cs
- PenLineCapValidation.cs
- RubberbandSelector.cs
- SqlStream.cs
- UIElement3D.cs
- QueryableFilterRepeater.cs
- QueueTransferProtocol.cs
- DbExpressionBuilder.cs
- Int16Converter.cs
- InputProviderSite.cs
- ErrorStyle.cs
- WasAdminWrapper.cs
- TextRunCache.cs
- WorkflowWebHostingModule.cs
- KeyInstance.cs
- LinkButton.cs
- SqlXmlStorage.cs
- HashHelper.cs
- ResourceReferenceKeyNotFoundException.cs
- UTF8Encoding.cs
- RSAPKCS1SignatureFormatter.cs
- AppDomainManager.cs
- WinEventHandler.cs
- EventMap.cs
- CommentGlyph.cs
- DesignerInterfaces.cs
- MsmqDiagnostics.cs
- TemplatedAdorner.cs
- BitmapDecoder.cs
- SafeCryptoHandles.cs
- ResXBuildProvider.cs
- ParameterModifier.cs
- Pkcs7Recipient.cs
- SystemIPGlobalStatistics.cs
- IISMapPath.cs
- ImageButton.cs
- WebPartDescriptionCollection.cs
- FunctionImportMapping.cs
- ErrorStyle.cs
- UIElement3D.cs
- XamlPoint3DCollectionSerializer.cs
- DataServiceQueryProvider.cs
- InstanceData.cs
- PerformanceCounterManager.cs
- RtfControlWordInfo.cs
- DbConnectionPoolGroup.cs
- LinqDataSourceSelectEventArgs.cs
- FactoryMaker.cs
- DiagnosticsConfiguration.cs
- cookie.cs
- HttpAsyncResult.cs
- SslStream.cs
- XamlTypeMapper.cs
- Point3DAnimationUsingKeyFrames.cs
- TextTreeDeleteContentUndoUnit.cs
- SqlCharStream.cs