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
- StrokeSerializer.cs
- StructuredTypeEmitter.cs
- LayoutEngine.cs
- EasingQuaternionKeyFrame.cs
- ToolStripItemEventArgs.cs
- URIFormatException.cs
- StrongNameUtility.cs
- XmlCDATASection.cs
- QuaternionRotation3D.cs
- XmlComplianceUtil.cs
- SqlReorderer.cs
- Delegate.cs
- BinaryOperationBinder.cs
- Vector3DConverter.cs
- SoapFaultCodes.cs
- ItemAutomationPeer.cs
- OutOfMemoryException.cs
- datacache.cs
- TimeSpanHelper.cs
- PermissionSetTriple.cs
- ViewManager.cs
- AsyncOperationManager.cs
- Options.cs
- DataGridViewRowPostPaintEventArgs.cs
- safelink.cs
- RightNameExpirationInfoPair.cs
- TextSelection.cs
- UnsafeNativeMethods.cs
- SubMenuStyleCollection.cs
- MultiPageTextView.cs
- EventWaitHandle.cs
- AutomationFocusChangedEventArgs.cs
- PageRanges.cs
- SoapSchemaExporter.cs
- SystemIPAddressInformation.cs
- _CookieModule.cs
- TracingConnection.cs
- EnumType.cs
- AttributeQuery.cs
- DataViewManager.cs
- SettingsPropertyValueCollection.cs
- MetadataItemCollectionFactory.cs
- RemoteArgument.cs
- ConstructorExpr.cs
- ImageAttributes.cs
- DataMemberConverter.cs
- shaperfactory.cs
- ExpressionBuilderCollection.cs
- Authorization.cs
- BaseCodePageEncoding.cs
- IndexedSelectQueryOperator.cs
- UrlPath.cs
- XPathBuilder.cs
- XdrBuilder.cs
- EntityContainerRelationshipSetEnd.cs
- WindowsFormsHostAutomationPeer.cs
- Substitution.cs
- DocobjHost.cs
- DPAPIProtectedConfigurationProvider.cs
- PropertyTabChangedEvent.cs
- Helpers.cs
- ReadContentAsBinaryHelper.cs
- OrderedEnumerableRowCollection.cs
- CompilerGlobalScopeAttribute.cs
- UserControlBuildProvider.cs
- DataObject.cs
- NamedPipeTransportBindingElement.cs
- SqlInternalConnectionTds.cs
- Popup.cs
- DocumentViewerAutomationPeer.cs
- RawStylusSystemGestureInputReport.cs
- PathFigure.cs
- ValueExpressions.cs
- PermissionSetTriple.cs
- ConsoleCancelEventArgs.cs
- ResolveNameEventArgs.cs
- PartialCachingControl.cs
- DocumentPageTextView.cs
- XmlNodeChangedEventArgs.cs
- DefaultTextStoreTextComposition.cs
- ControlPropertyNameConverter.cs
- FloaterBaseParagraph.cs
- DataGridTextBoxColumn.cs
- SafeEventLogReadHandle.cs
- PlanCompilerUtil.cs
- FileUpload.cs
- SiteMembershipCondition.cs
- ThreadAttributes.cs
- CroppedBitmap.cs
- COM2Enum.cs
- EntityViewContainer.cs
- Memoizer.cs
- BulletChrome.cs
- InterleavedZipPartStream.cs
- VisualTreeUtils.cs
- RoutedEventHandlerInfo.cs
- DesignSurfaceManager.cs
- XPathNodeHelper.cs
- DependencyObjectPropertyDescriptor.cs
- SecurityKeyIdentifierClause.cs