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
- StringConcat.cs
- ScriptBehaviorDescriptor.cs
- HttpProcessUtility.cs
- TextShapeableCharacters.cs
- TemplateBindingExtensionConverter.cs
- RenamedEventArgs.cs
- ConfigurationLocationCollection.cs
- UndoManager.cs
- WebPartPersonalization.cs
- SqlClientWrapperSmiStreamChars.cs
- IPipelineRuntime.cs
- ImageListUtils.cs
- APCustomTypeDescriptor.cs
- SerializationStore.cs
- CodeDirectiveCollection.cs
- EventPrivateKey.cs
- XmlWhitespace.cs
- Trace.cs
- ChooseAction.cs
- PolicyException.cs
- SoapObjectReader.cs
- RotationValidation.cs
- CommonObjectSecurity.cs
- XmlLangPropertyAttribute.cs
- WebContext.cs
- DbgUtil.cs
- AttributeCollection.cs
- Guid.cs
- FormViewInsertEventArgs.cs
- ConversionContext.cs
- EncoderFallback.cs
- RenderCapability.cs
- StrokeNodeOperations2.cs
- CellTreeNodeVisitors.cs
- DocumentViewerBaseAutomationPeer.cs
- ObjectNavigationPropertyMapping.cs
- Activity.cs
- CacheOutputQuery.cs
- PhysicalFontFamily.cs
- Vector3DKeyFrameCollection.cs
- Scripts.cs
- SspiHelper.cs
- DataGridViewLinkCell.cs
- StrokeNodeOperations2.cs
- EnumConverter.cs
- ListDictionaryInternal.cs
- GenericEnumConverter.cs
- MetaForeignKeyColumn.cs
- Mouse.cs
- HorizontalAlignConverter.cs
- SmiContext.cs
- XmlSchemaSimpleContentRestriction.cs
- DataBoundLiteralControl.cs
- ActiveDesignSurfaceEvent.cs
- CAGDesigner.cs
- ByteStreamGeometryContext.cs
- MultiAsyncResult.cs
- TypeUsage.cs
- StringOutput.cs
- ApplyTemplatesAction.cs
- CellRelation.cs
- Console.cs
- SymbolDocumentInfo.cs
- DataGridState.cs
- GregorianCalendar.cs
- Symbol.cs
- ThicknessAnimationBase.cs
- DataGridViewDataConnection.cs
- MaterializeFromAtom.cs
- AssemblyAttributes.cs
- ConfigurationManagerInternalFactory.cs
- ValidatedControlConverter.cs
- SystemNetworkInterface.cs
- GroupLabel.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ComponentEditorPage.cs
- SmiEventStream.cs
- SafeCoTaskMem.cs
- SystemFonts.cs
- DataGridViewComboBoxColumn.cs
- SQLMoneyStorage.cs
- unsafenativemethodsother.cs
- BrowserDefinitionCollection.cs
- SingleObjectCollection.cs
- BinarySerializer.cs
- CngKey.cs
- ObjectDisposedException.cs
- ConsoleCancelEventArgs.cs
- ErrorFormatterPage.cs
- Axis.cs
- GenericTransactionFlowAttribute.cs
- _ProxyRegBlob.cs
- Point3DValueSerializer.cs
- OutputCacheSection.cs
- BuildDependencySet.cs
- BaseDataList.cs
- ListViewItemEventArgs.cs
- SelectionWordBreaker.cs
- TimeManager.cs
- RequestQueue.cs