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
- ColorTransform.cs
- ControlDesigner.cs
- Char.cs
- ScaleTransform.cs
- IntranetCredentialPolicy.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- UndirectedGraph.cs
- XamlTemplateSerializer.cs
- TextFindEngine.cs
- CompilerTypeWithParams.cs
- Rotation3D.cs
- FragmentQuery.cs
- CreateParams.cs
- BitmapEffectState.cs
- InputDevice.cs
- ContractAdapter.cs
- ServiceModelEnumValidatorAttribute.cs
- XamlNamespaceHelper.cs
- GatewayDefinition.cs
- XNodeValidator.cs
- XmlSchemaIdentityConstraint.cs
- EntityClientCacheKey.cs
- WeakEventTable.cs
- ButtonBaseAdapter.cs
- UriWriter.cs
- ClientSettingsProvider.cs
- CompatibleIComparer.cs
- XPathNavigator.cs
- UIElementIsland.cs
- WebScriptMetadataInstanceContextProvider.cs
- ItemContainerGenerator.cs
- SchemaManager.cs
- UriTemplateClientFormatter.cs
- _TLSstream.cs
- MemberInfoSerializationHolder.cs
- RSACryptoServiceProvider.cs
- RefreshEventArgs.cs
- OverflowException.cs
- WebPartMovingEventArgs.cs
- ExecutionProperties.cs
- GenericRootAutomationPeer.cs
- SmtpLoginAuthenticationModule.cs
- TreeNodeStyle.cs
- MD5CryptoServiceProvider.cs
- ClientTargetCollection.cs
- ExternalFile.cs
- PathParser.cs
- GradientBrush.cs
- WaitForChangedResult.cs
- ContextMarshalException.cs
- StrokeRenderer.cs
- ObjectViewQueryResultData.cs
- RadialGradientBrush.cs
- CustomErrorsSection.cs
- SqlCommandSet.cs
- SecurityContextSecurityToken.cs
- WebPartZoneBase.cs
- OdbcStatementHandle.cs
- MenuItemBindingCollection.cs
- CodeTypeParameterCollection.cs
- ProxyHwnd.cs
- ProfileInfo.cs
- DefaultTextStoreTextComposition.cs
- Hyperlink.cs
- TextChangedEventArgs.cs
- ValueUnavailableException.cs
- RelationshipEndCollection.cs
- UniqueConstraint.cs
- SendDesigner.xaml.cs
- XmlIncludeAttribute.cs
- ControlParameter.cs
- ModuleConfigurationInfo.cs
- SerialReceived.cs
- CharacterMetrics.cs
- embossbitmapeffect.cs
- LinkClickEvent.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- XmlComment.cs
- MenuEventArgs.cs
- Image.cs
- SlipBehavior.cs
- SharedStatics.cs
- UrlMappingsModule.cs
- DetailsViewInsertEventArgs.cs
- VectorCollectionConverter.cs
- GeometryModel3D.cs
- ReadOnlyCollectionBase.cs
- SequenceRange.cs
- DataSourceView.cs
- BitmapSizeOptions.cs
- CompilerResults.cs
- XmlSchemaAnnotation.cs
- SecurityManager.cs
- ReadOnlyActivityGlyph.cs
- GenericWebPart.cs
- GeneralTransform3D.cs
- IsolatedStorageException.cs
- PieceDirectory.cs
- ImplicitInputBrush.cs
- QilGeneratorEnv.cs