Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / EndpointBehaviorElementCollection.cs / 1 / EndpointBehaviorElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(EndpointBehaviorElement), AddItemName = ConfigurationStrings.Behavior)] public sealed class EndpointBehaviorElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public EndpointBehaviorElementCollection() : base(ConfigurationStrings.Behavior) { } protected override bool ThrowOnDuplicate { get { return false; } } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } EndpointBehaviorElement configElementKey = (EndpointBehaviorElement)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
- CachedPathData.cs
- SchemaImporterExtensionElement.cs
- SafeViewOfFileHandle.cs
- localization.cs
- PointCollection.cs
- AlphaSortedEnumConverter.cs
- StateMachineHelpers.cs
- DataGridViewTopRowAccessibleObject.cs
- ListViewGroupCollectionEditor.cs
- DataGridViewDataConnection.cs
- TimeZoneNotFoundException.cs
- HostedElements.cs
- FontSource.cs
- HashAlgorithm.cs
- ReadContentAsBinaryHelper.cs
- EventData.cs
- DockingAttribute.cs
- PaintEvent.cs
- QueryConverter.cs
- RawStylusInputCustomData.cs
- CompareInfo.cs
- NullableDoubleSumAggregationOperator.cs
- NodeFunctions.cs
- WebServiceHandler.cs
- ContainerFilterService.cs
- SecurityCapabilities.cs
- AttachedPropertyMethodSelector.cs
- FunctionNode.cs
- DelegatingStream.cs
- IPGlobalProperties.cs
- EntityDataSourceWrapper.cs
- FrameworkContentElement.cs
- EntityKey.cs
- ArithmeticException.cs
- DesignUtil.cs
- ClientRolePrincipal.cs
- SimpleBitVector32.cs
- AsymmetricSignatureFormatter.cs
- MetadataStore.cs
- PageThemeCodeDomTreeGenerator.cs
- PiiTraceSource.cs
- SQLResource.cs
- MetabaseServerConfig.cs
- TextDecorations.cs
- ReceiveErrorHandling.cs
- SHA512Cng.cs
- SamlAssertion.cs
- DLinqDataModelProvider.cs
- querybuilder.cs
- NumberFormatInfo.cs
- MetadataProperty.cs
- DetailsView.cs
- IndentedTextWriter.cs
- DataGridViewButtonCell.cs
- _FixedSizeReader.cs
- CultureMapper.cs
- TextSimpleMarkerProperties.cs
- MemberInitExpression.cs
- UpdateCommandGenerator.cs
- PagePropertiesChangingEventArgs.cs
- WmpBitmapEncoder.cs
- TypeElement.cs
- TrackingValidationObjectDictionary.cs
- IFlowDocumentViewer.cs
- ISO2022Encoding.cs
- SrgsElementFactory.cs
- AccessDataSourceView.cs
- TableLayoutPanelBehavior.cs
- WebBrowserNavigatedEventHandler.cs
- FormViewInsertEventArgs.cs
- Types.cs
- IndependentlyAnimatedPropertyMetadata.cs
- TdsParserStateObject.cs
- entityreference_tresulttype.cs
- CodeGroup.cs
- WmpBitmapDecoder.cs
- StorageSetMapping.cs
- DeviceContexts.cs
- BooleanProjectedSlot.cs
- TaiwanCalendar.cs
- BinaryMessageEncoder.cs
- SequentialUshortCollection.cs
- ResourceDescriptionAttribute.cs
- ExpandoClass.cs
- ParagraphVisual.cs
- BamlResourceSerializer.cs
- UnSafeCharBuffer.cs
- CheckBoxPopupAdapter.cs
- Icon.cs
- ManualResetEventSlim.cs
- TypeToken.cs
- HtmlAnchor.cs
- CFStream.cs
- __Filters.cs
- SeparatorAutomationPeer.cs
- XmlArrayAttribute.cs
- AnnotationHelper.cs
- SqlDataSource.cs
- RoleGroupCollectionEditor.cs
- ModifiableIteratorCollection.cs