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
- AdapterDictionary.cs
- DataGridViewLinkColumn.cs
- PriorityQueue.cs
- TreeNodeEventArgs.cs
- DbCommandTree.cs
- ProfileService.cs
- ProfileSettingsCollection.cs
- FormatterServices.cs
- GeometryConverter.cs
- InfoCardKeyedHashAlgorithm.cs
- JsonDataContract.cs
- CoreSwitches.cs
- ListViewGroupConverter.cs
- WindowsHyperlink.cs
- PersistChildrenAttribute.cs
- ArithmeticLiteral.cs
- PreApplicationStartMethodAttribute.cs
- OleDbConnectionInternal.cs
- XPathMessageFilterTable.cs
- WhitespaceRule.cs
- ApplicationGesture.cs
- XmlToDatasetMap.cs
- newinstructionaction.cs
- TextEncodedRawTextWriter.cs
- PrintDialog.cs
- LinkLabelLinkClickedEvent.cs
- XmlResolver.cs
- TakeQueryOptionExpression.cs
- PropertyValue.cs
- ObservableDictionary.cs
- Int16Storage.cs
- PropertyPath.cs
- TextTrailingWordEllipsis.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DataService.cs
- MediaElementAutomationPeer.cs
- LockedBorderGlyph.cs
- WindowsStreamSecurityBindingElement.cs
- ParentQuery.cs
- SQLDouble.cs
- SqlBuilder.cs
- Environment.cs
- RectangleHotSpot.cs
- JsonDeserializer.cs
- MethodBuilderInstantiation.cs
- TextComposition.cs
- Debugger.cs
- ProxyWebPartManager.cs
- RequestCacheManager.cs
- RegexEditorDialog.cs
- OrderablePartitioner.cs
- SqlReorderer.cs
- XPathBinder.cs
- PersistChildrenAttribute.cs
- FontStyle.cs
- DataGridViewUtilities.cs
- FullTextState.cs
- RichTextBoxAutomationPeer.cs
- MultiView.cs
- ColorAnimationUsingKeyFrames.cs
- OLEDB_Util.cs
- ReflectionHelper.cs
- HitTestFilterBehavior.cs
- CreateRefExpr.cs
- EntityDataSourceWizardForm.cs
- EventLogPermissionEntry.cs
- SHA256.cs
- CodeGotoStatement.cs
- CircleEase.cs
- ConnectionStringsExpressionBuilder.cs
- XPathSelectionIterator.cs
- SchemaImporterExtension.cs
- ReadWriteObjectLock.cs
- BitSet.cs
- FormParameter.cs
- ActivityTypeCodeDomSerializer.cs
- UpdateTranslator.cs
- WebPartCloseVerb.cs
- TextProviderWrapper.cs
- OdbcConnectionHandle.cs
- OleDbSchemaGuid.cs
- ContentIterators.cs
- RolePrincipal.cs
- DataGridViewTextBoxColumn.cs
- ProcessThreadCollection.cs
- documentsequencetextcontainer.cs
- WindowCollection.cs
- GridViewCellAutomationPeer.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- _Rfc2616CacheValidators.cs
- WebPartMenu.cs
- DataListCommandEventArgs.cs
- HandlerMappingMemo.cs
- BulletedListEventArgs.cs
- PathStreamGeometryContext.cs
- AnimationClock.cs
- MemoryFailPoint.cs
- SinglePhaseEnlistment.cs
- hresults.cs
- DataSysAttribute.cs