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
- AllowedAudienceUriElement.cs
- AppDomainManager.cs
- PolyLineSegment.cs
- TemplateKeyConverter.cs
- ConstructorBuilder.cs
- ComponentCommands.cs
- Nullable.cs
- SettingsAttributes.cs
- TypeLibConverter.cs
- BitmapCodecInfoInternal.cs
- Schema.cs
- SimpleHandlerFactory.cs
- TransformDescriptor.cs
- WeakEventTable.cs
- DetailsViewUpdateEventArgs.cs
- NetDispatcherFaultException.cs
- assemblycache.cs
- WebPageTraceListener.cs
- Activator.cs
- FormViewDeletedEventArgs.cs
- ObfuscationAttribute.cs
- HtmlContainerControl.cs
- StyleTypedPropertyAttribute.cs
- HandlerFactoryWrapper.cs
- SpeakInfo.cs
- DirectionalLight.cs
- JsonMessageEncoderFactory.cs
- SoapSchemaMember.cs
- Int64Storage.cs
- ImageIndexConverter.cs
- SynchronizedMessageSource.cs
- ContainerFilterService.cs
- RoleGroup.cs
- ParallelLoopState.cs
- OleAutBinder.cs
- SafeRightsManagementPubHandle.cs
- MSG.cs
- MailWebEventProvider.cs
- XmlExtensionFunction.cs
- SimpleLine.cs
- QueryableDataSourceHelper.cs
- TextEffect.cs
- SaveFileDialog.cs
- PopupControlService.cs
- DependencyPropertyConverter.cs
- TreeNodeCollection.cs
- XmlSerializerVersionAttribute.cs
- ThaiBuddhistCalendar.cs
- RealizationContext.cs
- DrawingImage.cs
- TargetControlTypeCache.cs
- FtpWebRequest.cs
- XmlSchema.cs
- OpCodes.cs
- DashStyles.cs
- CustomPeerResolverService.cs
- ConsoleTraceListener.cs
- TextTreeTextElementNode.cs
- PersonalizationStateInfo.cs
- ProcessHostServerConfig.cs
- Content.cs
- SpeakCompletedEventArgs.cs
- PropertyToken.cs
- PrimitiveXmlSerializers.cs
- CompoundFileDeflateTransform.cs
- XPathScanner.cs
- Repeater.cs
- WindowsUpDown.cs
- NotifyInputEventArgs.cs
- EntityDataSourceWrapper.cs
- StreamMarshaler.cs
- TransformationRules.cs
- ScriptManagerProxy.cs
- StreamUpgradeProvider.cs
- RtfToXamlLexer.cs
- RootProjectionNode.cs
- BoundingRectTracker.cs
- FlowDocument.cs
- Configuration.cs
- QilIterator.cs
- EpmCustomContentWriterNodeData.cs
- EntityDataSourceUtil.cs
- FolderLevelBuildProviderCollection.cs
- RuleEngine.cs
- AttachedAnnotation.cs
- BitConverter.cs
- BrowserCapabilitiesFactory.cs
- MetadataItemCollectionFactory.cs
- DataPagerField.cs
- TextModifier.cs
- Console.cs
- MDIControlStrip.cs
- PackageFilter.cs
- RequestCacheValidator.cs
- DiscriminatorMap.cs
- GlobalizationAssembly.cs
- recordstate.cs
- FilteredDataSetHelper.cs
- CustomErrorsSection.cs
- dataprotectionpermission.cs