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
- NavigationHelper.cs
- ColorContext.cs
- CallbackValidator.cs
- DbConnectionHelper.cs
- HierarchicalDataTemplate.cs
- CodeCatchClauseCollection.cs
- FunctionCommandText.cs
- VisualCollection.cs
- MsmqHostedTransportManager.cs
- EventLog.cs
- MatrixAnimationUsingKeyFrames.cs
- CapiSymmetricAlgorithm.cs
- CachedTypeface.cs
- RowUpdatedEventArgs.cs
- GridPattern.cs
- IssuedSecurityTokenProvider.cs
- NCryptSafeHandles.cs
- ServiceModelDictionary.cs
- SqlParameterizer.cs
- DesignObjectWrapper.cs
- TypeConverterHelper.cs
- Memoizer.cs
- TimelineGroup.cs
- DataGridHeaderBorder.cs
- TimelineCollection.cs
- CanonicalFormWriter.cs
- AssociationTypeEmitter.cs
- HwndSubclass.cs
- ExpressionBuilder.cs
- Function.cs
- GeometryDrawing.cs
- RuntimeCompatibilityAttribute.cs
- GeneralTransform3DGroup.cs
- ReflectPropertyDescriptor.cs
- Trace.cs
- MembershipValidatePasswordEventArgs.cs
- MarginCollapsingState.cs
- TextLineBreak.cs
- HttpUnhandledOperationInvoker.cs
- FixedDocumentSequencePaginator.cs
- TextOnlyOutput.cs
- PropertyDescriptorCollection.cs
- TemplateApplicationHelper.cs
- RunWorkerCompletedEventArgs.cs
- XhtmlConformanceSection.cs
- WebPartDescription.cs
- COM2Properties.cs
- ServiceDescriptionContext.cs
- TableLayout.cs
- IconConverter.cs
- ObjectParameter.cs
- PermissionListSet.cs
- XmlConvert.cs
- FontStretches.cs
- MetadataArtifactLoaderCompositeResource.cs
- EntityTransaction.cs
- WebEvents.cs
- TextReader.cs
- WebPartTransformerCollection.cs
- AppSettingsSection.cs
- MDIClient.cs
- FrameworkElement.cs
- StringTraceRecord.cs
- TypeListConverter.cs
- UIPropertyMetadata.cs
- WebPartTracker.cs
- DropSourceBehavior.cs
- CodeFieldReferenceExpression.cs
- IdentityReference.cs
- RemotingServices.cs
- TableParagraph.cs
- WindowsGraphicsWrapper.cs
- SecurityTokenReferenceStyle.cs
- PriorityRange.cs
- _AutoWebProxyScriptWrapper.cs
- MemoryFailPoint.cs
- MultipleViewProviderWrapper.cs
- DataColumnMappingCollection.cs
- TrackingProfileManager.cs
- ControlValuePropertyAttribute.cs
- TextParagraph.cs
- MouseEvent.cs
- CompiledQuery.cs
- TextEditorSpelling.cs
- SkewTransform.cs
- MaskDesignerDialog.cs
- DiagnosticEventProvider.cs
- BamlRecords.cs
- SingleTagSectionHandler.cs
- OraclePermission.cs
- WebEncodingValidatorAttribute.cs
- NameValueFileSectionHandler.cs
- OrthographicCamera.cs
- ActiveXMessageFormatter.cs
- EmptyElement.cs
- ChangePasswordDesigner.cs
- Win32PrintDialog.cs
- WebControlAdapter.cs
- hresults.cs
- securitymgrsite.cs