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
- SupportingTokenParameters.cs
- XmlAttributes.cs
- FixedFindEngine.cs
- Timer.cs
- BinHexEncoder.cs
- ValueUtilsSmi.cs
- MouseGesture.cs
- BasicBrowserDialog.designer.cs
- FixedDocumentPaginator.cs
- TypeElementCollection.cs
- ConfigurationManagerHelperFactory.cs
- SignedXml.cs
- PropertyChangeTracker.cs
- DesigntimeLicenseContext.cs
- StartFileNameEditor.cs
- StringComparer.cs
- CmsInterop.cs
- SoapEnvelopeProcessingElement.cs
- NetworkInformationException.cs
- SqlUtils.cs
- XmlCharCheckingReader.cs
- StrictAndMessageFilter.cs
- HttpServerVarsCollection.cs
- ConfigsHelper.cs
- ListViewSelectEventArgs.cs
- ToolStripPanelSelectionBehavior.cs
- CompilerGlobalScopeAttribute.cs
- path.cs
- DataFieldEditor.cs
- PenContexts.cs
- UpdatePanelControlTrigger.cs
- NullEntityWrapper.cs
- cache.cs
- HMACSHA384.cs
- Util.cs
- ComponentRenameEvent.cs
- OdbcConnectionOpen.cs
- Cursor.cs
- ResumeStoryboard.cs
- TextShapeableCharacters.cs
- PropertyValueChangedEvent.cs
- CodeDefaultValueExpression.cs
- RemoteWebConfigurationHostServer.cs
- ValidatedControlConverter.cs
- TypeDependencyAttribute.cs
- ToolConsole.cs
- HostedTcpTransportManager.cs
- OleDbFactory.cs
- CompiledAction.cs
- LinkLabel.cs
- SqlDataSourceSelectingEventArgs.cs
- InteropBitmapSource.cs
- DaylightTime.cs
- EntityContainerEntitySet.cs
- Base64Decoder.cs
- AppDomainProtocolHandler.cs
- HandledEventArgs.cs
- EventDrivenDesigner.cs
- WindowsRegion.cs
- FontSourceCollection.cs
- HistoryEventArgs.cs
- ProxyAttribute.cs
- ComAwareEventInfo.cs
- HttpTransportManager.cs
- _AutoWebProxyScriptWrapper.cs
- SettingsProviderCollection.cs
- WebBrowser.cs
- IImplicitResourceProvider.cs
- IIS7WorkerRequest.cs
- SqlRetyper.cs
- TranslateTransform.cs
- PointLightBase.cs
- RepeaterCommandEventArgs.cs
- LinearGradientBrush.cs
- AuthStoreRoleProvider.cs
- StylusPointProperties.cs
- JsonDeserializer.cs
- ComEventsMethod.cs
- WorkflowRuntimeServicesBehavior.cs
- SelectionBorderGlyph.cs
- FormsIdentity.cs
- HttpListener.cs
- DeferrableContent.cs
- AnnotationAuthorChangedEventArgs.cs
- Automation.cs
- DateTimePickerDesigner.cs
- SafeRightsManagementSessionHandle.cs
- BoundPropertyEntry.cs
- _Win32.cs
- NonSerializedAttribute.cs
- TextRangeEditLists.cs
- Transform3DCollection.cs
- JsonSerializer.cs
- DataGridViewColumnHeaderCell.cs
- TypeUsage.cs
- XmlMembersMapping.cs
- UiaCoreTypesApi.cs
- XmlSerializerFactory.cs
- TrustSection.cs
- ValueTypeFixupInfo.cs