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
- Lease.cs
- GridErrorDlg.cs
- AuthenticationSection.cs
- SourceFileBuildProvider.cs
- MetadataUtil.cs
- IntPtr.cs
- FixedFlowMap.cs
- PropertyGridCommands.cs
- ResourceDisplayNameAttribute.cs
- EmbossBitmapEffect.cs
- ConditionValidator.cs
- DocumentSchemaValidator.cs
- ListParaClient.cs
- WebScriptServiceHost.cs
- DictionaryEditChange.cs
- DataBoundControlHelper.cs
- UrlMapping.cs
- ProofTokenCryptoHandle.cs
- ServiceObjectContainer.cs
- Section.cs
- ColorKeyFrameCollection.cs
- PersonalizableAttribute.cs
- codemethodreferenceexpression.cs
- Int64Animation.cs
- ScriptResourceAttribute.cs
- Point3DAnimation.cs
- KeyEvent.cs
- KeyGesture.cs
- DataTableMappingCollection.cs
- SmiContext.cs
- ParameterBuilder.cs
- UserControlBuildProvider.cs
- SettingsBase.cs
- XmlSchemaAnyAttribute.cs
- SqlClientPermission.cs
- OperationResponse.cs
- CodeIdentifiers.cs
- BrowsableAttribute.cs
- FileStream.cs
- FeatureSupport.cs
- DataServiceContext.cs
- MemberAccessException.cs
- RequestCachePolicy.cs
- AuthenticationModuleElement.cs
- RichTextBox.cs
- DataServiceRequest.cs
- XsltSettings.cs
- EventData.cs
- ReadOnlyDictionary.cs
- Rotation3D.cs
- ClientTarget.cs
- COM2TypeInfoProcessor.cs
- Tuple.cs
- InitializationEventAttribute.cs
- TreeViewEvent.cs
- ProjectionPruner.cs
- Directory.cs
- util.cs
- ExpressionBindingsDialog.cs
- StopStoryboard.cs
- ZoneLinkButton.cs
- ExtentJoinTreeNode.cs
- TypeLoadException.cs
- FileDialog.cs
- EnterpriseServicesHelper.cs
- ContextMenuStripGroupCollection.cs
- SchemaHelper.cs
- VirtualDirectoryMapping.cs
- AsyncStreamReader.cs
- ChtmlTextWriter.cs
- ExpandCollapseProviderWrapper.cs
- MenuItem.cs
- SizeFConverter.cs
- AmbientValueAttribute.cs
- TargetConverter.cs
- arabicshape.cs
- EntityDataSourceWrapperCollection.cs
- MetadataItemEmitter.cs
- KernelTypeValidation.cs
- XmlSchemaAny.cs
- TypeNameHelper.cs
- InkCanvasSelectionAdorner.cs
- StringDictionary.cs
- UpdateRecord.cs
- Command.cs
- DrawListViewItemEventArgs.cs
- RequiredAttributeAttribute.cs
- SecurityCookieModeValidator.cs
- AsyncOperationContext.cs
- ManagementPath.cs
- HttpModuleAction.cs
- MILUtilities.cs
- TrackingMemoryStream.cs
- CodeSpit.cs
- NamespaceInfo.cs
- SettingsPropertyIsReadOnlyException.cs
- Int32CollectionValueSerializer.cs
- localization.cs
- XmlSchemaAttributeGroupRef.cs
- SerializationStore.cs