Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ChannelEndpointElementCollection.cs / 1 / ChannelEndpointElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ChannelEndpointElement), AddItemName = ConfigurationStrings.Endpoint)] public sealed class ChannelEndpointElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ChannelEndpointElementCollection() : base(ConfigurationStrings.Endpoint) {} protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ChannelEndpointElement configElementKey = (ChannelEndpointElement) element; return string.Format(CultureInfo.InvariantCulture, "contractType:{0};name:{1}", configElementKey.Contract, 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
- PropertyGrid.cs
- SerializerDescriptor.cs
- SessionStateUtil.cs
- DesignerVerb.cs
- SurrogateDataContract.cs
- MulticastDelegate.cs
- SettingsSection.cs
- ValueTypePropertyReference.cs
- PanelDesigner.cs
- LineVisual.cs
- MatrixTransform3D.cs
- PackageController.cs
- CodeNamespaceImport.cs
- CopyAction.cs
- SAPIEngineTypes.cs
- ProxyGenerationError.cs
- SystemWebSectionGroup.cs
- ServiceOperationViewControl.cs
- PenThread.cs
- PartialCachingAttribute.cs
- GraphicsContext.cs
- cookiecontainer.cs
- BaseDataBoundControl.cs
- StyleCollectionEditor.cs
- HttpHostedTransportConfiguration.cs
- CatchBlock.cs
- MultiSelectRootGridEntry.cs
- httpapplicationstate.cs
- MasterPageCodeDomTreeGenerator.cs
- ComplexLine.cs
- MdiWindowListItemConverter.cs
- XPathParser.cs
- Compiler.cs
- Highlights.cs
- _TimerThread.cs
- DependencyObjectPropertyDescriptor.cs
- NotificationContext.cs
- WebPartDisplayModeCancelEventArgs.cs
- LightweightCodeGenerator.cs
- SimpleWebHandlerParser.cs
- DataRow.cs
- SqlExpressionNullability.cs
- ProcessThread.cs
- FunctionCommandText.cs
- HwndSubclass.cs
- XmlValidatingReader.cs
- DataRelation.cs
- WeakHashtable.cs
- ObjectParameter.cs
- UITypeEditor.cs
- TextBoxAutoCompleteSourceConverter.cs
- FormDesigner.cs
- Internal.cs
- HttpWebResponse.cs
- AssemblyContextControlItem.cs
- SchemaTypeEmitter.cs
- ChangePassword.cs
- Point3DCollectionConverter.cs
- SHA512.cs
- IODescriptionAttribute.cs
- BypassElementCollection.cs
- CompiledRegexRunner.cs
- X509AsymmetricSecurityKey.cs
- CompiledIdentityConstraint.cs
- SecurityResources.cs
- SafeCoTaskMem.cs
- BindingOperations.cs
- ObjectQuery.cs
- UnsafeNativeMethods.cs
- FastPropertyAccessor.cs
- TextDecorationCollection.cs
- UInt16Converter.cs
- TypedReference.cs
- ObjectViewListener.cs
- ExtensionWindow.cs
- SaveFileDialog.cs
- AVElementHelper.cs
- X509Extension.cs
- DataTrigger.cs
- Size.cs
- AssociatedControlConverter.cs
- StyleBamlTreeBuilder.cs
- CannotUnloadAppDomainException.cs
- SQLSingle.cs
- ContentHostHelper.cs
- ToolStripRendererSwitcher.cs
- MexTcpBindingElement.cs
- FieldToken.cs
- Style.cs
- ListViewDesigner.cs
- DataGridViewComboBoxCell.cs
- MemberListBinding.cs
- ObjectAssociationEndMapping.cs
- InkCanvasSelection.cs
- EncodingStreamWrapper.cs
- PathFigureCollectionConverter.cs
- AnimatedTypeHelpers.cs
- EmbeddedMailObject.cs
- ArraySortHelper.cs
- SymmetricAlgorithm.cs