Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ServiceBehaviorElementCollection.cs / 1 / ServiceBehaviorElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ServiceBehaviorElement), AddItemName = ConfigurationStrings.Behavior)] public sealed class ServiceBehaviorElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ServiceBehaviorElementCollection() : base(ConfigurationStrings.Behavior) { } protected override bool ThrowOnDuplicate { get { return false; } } protected override void DeserializeElement(System.Xml.XmlReader reader, bool serializeCollectionKey) { base.DeserializeElement(reader, serializeCollectionKey); } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ServiceBehaviorElement configElementKey = (ServiceBehaviorElement)element; return configElementKey.Name; } } } // 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
- BasicExpressionVisitor.cs
- EmptyElement.cs
- AmbientValueAttribute.cs
- ToolStripItem.cs
- WorkflowApplicationIdleEventArgs.cs
- VirtualizedItemPattern.cs
- ValidatedControlConverter.cs
- SqlVersion.cs
- DetailsViewRow.cs
- MatrixAnimationUsingKeyFrames.cs
- SByteConverter.cs
- WindowsListView.cs
- XmlNamespaceDeclarationsAttribute.cs
- ProfileSettings.cs
- ControlPaint.cs
- SmiEventStream.cs
- TreeNodeCollection.cs
- ConstraintStruct.cs
- ServiceX509SecurityTokenProvider.cs
- EmptyImpersonationContext.cs
- CounterNameConverter.cs
- XmlSchemaExternal.cs
- RegexCode.cs
- ConstructorNeedsTagAttribute.cs
- TableCellAutomationPeer.cs
- CfgArc.cs
- IImplicitResourceProvider.cs
- CodeIdentifier.cs
- EntityClassGenerator.cs
- hresults.cs
- ListBindingHelper.cs
- XmlIncludeAttribute.cs
- GeometryConverter.cs
- ElapsedEventArgs.cs
- ToolBar.cs
- dtdvalidator.cs
- DummyDataSource.cs
- ViewBox.cs
- FamilyTypeface.cs
- BindingsCollection.cs
- ReadOnlyDictionary.cs
- WebPartTracker.cs
- ActivityDesignerResources.cs
- TypeElementCollection.cs
- InternalBase.cs
- SafeRightsManagementHandle.cs
- TabControlEvent.cs
- ProjectionPruner.cs
- TableParaClient.cs
- DataServiceEntityAttribute.cs
- SecureEnvironment.cs
- ConsumerConnectionPoint.cs
- RealProxy.cs
- RSAProtectedConfigurationProvider.cs
- HtmlTernaryTree.cs
- RefreshEventArgs.cs
- DiscoveryMessageSequenceGenerator.cs
- ProviderBase.cs
- MediaSystem.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- IsolatedStorageSecurityState.cs
- MonthCalendar.cs
- SoapProcessingBehavior.cs
- DataKey.cs
- activationcontext.cs
- EffectiveValueEntry.cs
- DocumentGridPage.cs
- DataSourceUtil.cs
- ToolboxItemAttribute.cs
- ErrorFormatterPage.cs
- XmlKeywords.cs
- DoubleCollectionConverter.cs
- SiteMapSection.cs
- SplitterCancelEvent.cs
- RelationshipEndMember.cs
- TableStyle.cs
- Util.cs
- UnaryNode.cs
- BitmapImage.cs
- PersistenceParticipant.cs
- SignedPkcs7.cs
- StateDesigner.TransitionInfo.cs
- AdornerDecorator.cs
- ChangePasswordAutoFormat.cs
- TextCompositionManager.cs
- ToolStripItemTextRenderEventArgs.cs
- HMACSHA256.cs
- EdmProperty.cs
- DockEditor.cs
- PenContext.cs
- StringHandle.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DirectoryNotFoundException.cs
- DesignerLoader.cs
- BindingListCollectionView.cs
- MethodBuilderInstantiation.cs
- LayoutSettings.cs
- AnnotationObservableCollection.cs
- DescriptionAttribute.cs
- FrameworkElementFactoryMarkupObject.cs