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
- XamlWriter.cs
- XamlFilter.cs
- ArrayTypeMismatchException.cs
- OutputWindow.cs
- SystemUdpStatistics.cs
- RecognizerStateChangedEventArgs.cs
- MenuItem.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- String.cs
- BuilderPropertyEntry.cs
- CredentialCache.cs
- BitmapEffectDrawingContextState.cs
- OleDbException.cs
- AmbientValueAttribute.cs
- SmiEventStream.cs
- SafeFileHandle.cs
- EncoderExceptionFallback.cs
- WebPartConnectionsCancelEventArgs.cs
- ScrollChrome.cs
- XmlUrlResolver.cs
- CodeBlockBuilder.cs
- MappingMetadataHelper.cs
- ItemChangedEventArgs.cs
- RTLAwareMessageBox.cs
- ZipIOExtraFieldPaddingElement.cs
- CqlLexer.cs
- MulticastNotSupportedException.cs
- WebPartVerbsEventArgs.cs
- UTF7Encoding.cs
- OdbcHandle.cs
- CompressionTransform.cs
- ShaderEffect.cs
- RawStylusInput.cs
- WorkflowInstanceQuery.cs
- remotingproxy.cs
- TrackingRecord.cs
- FlowDocumentPage.cs
- DesignerAttribute.cs
- JavaScriptString.cs
- CollectionsUtil.cs
- PropertyGridView.cs
- TextParaLineResult.cs
- RequestCachingSection.cs
- ControlBuilderAttribute.cs
- SQLInt64Storage.cs
- FormatConvertedBitmap.cs
- HistoryEventArgs.cs
- EntityStoreSchemaGenerator.cs
- Timer.cs
- RelatedEnd.cs
- IApplicationTrustManager.cs
- FreezableCollection.cs
- SQLMoney.cs
- LinkedResource.cs
- AsyncPostBackErrorEventArgs.cs
- ProxyManager.cs
- InteropBitmapSource.cs
- SafeNativeMethods.cs
- DBPropSet.cs
- assemblycache.cs
- CustomWebEventKey.cs
- PreApplicationStartMethodAttribute.cs
- TimeSpan.cs
- SaveFileDialog.cs
- StylusPointProperties.cs
- SemaphoreFullException.cs
- DeferredSelectedIndexReference.cs
- EntityContainerRelationshipSet.cs
- OleDbParameter.cs
- CompositeFontParser.cs
- WebServiceData.cs
- HideDisabledControlAdapter.cs
- TransformValueSerializer.cs
- WorkflowWebService.cs
- ComplexPropertyEntry.cs
- StandardCommands.cs
- MasterPageCodeDomTreeGenerator.cs
- OuterGlowBitmapEffect.cs
- Normalization.cs
- ServicePointManager.cs
- ConfigsHelper.cs
- ValidatingReaderNodeData.cs
- ServiceMetadataExtension.cs
- httpapplicationstate.cs
- UserUseLicenseDictionaryLoader.cs
- RootBuilder.cs
- ECDiffieHellman.cs
- StorageSetMapping.cs
- EntityDataSourceDesignerHelper.cs
- Interop.cs
- Nullable.cs
- WebZoneDesigner.cs
- DocumentApplication.cs
- DataGridViewCellValueEventArgs.cs
- ApplicationServiceHelper.cs
- Int64KeyFrameCollection.cs
- SizeIndependentAnimationStorage.cs
- NativeMethodsOther.cs
- SourceItem.cs
- CheckBoxField.cs