Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ServiceBehaviorElementCollection.cs / 1 / ServiceBehaviorElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ServiceBehaviorElement), AddItemName = ConfigurationStrings.Behavior)] public sealed class ServiceBehaviorElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ServiceBehaviorElementCollection() : base(ConfigurationStrings.Behavior) { } protected override bool ThrowOnDuplicate { get { return false; } } protected override void DeserializeElement(System.Xml.XmlReader reader, bool serializeCollectionKey) { base.DeserializeElement(reader, serializeCollectionKey); } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ServiceBehaviorElement configElementKey = (ServiceBehaviorElement)element; return 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
- HttpApplication.cs
- TextHintingModeValidation.cs
- LoginName.cs
- ClientSettingsSection.cs
- SqlConnectionPoolProviderInfo.cs
- dtdvalidator.cs
- LinqDataSourceUpdateEventArgs.cs
- LocalizationComments.cs
- EditorPartCollection.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- OutputCache.cs
- CodeParameterDeclarationExpressionCollection.cs
- LinearGradientBrush.cs
- SqlDataReader.cs
- SmtpDigestAuthenticationModule.cs
- FormViewDeleteEventArgs.cs
- LicenseContext.cs
- ListControlConvertEventArgs.cs
- CharacterBuffer.cs
- ArcSegment.cs
- BuildProvidersCompiler.cs
- XmlDocumentSerializer.cs
- SoapExtensionReflector.cs
- PrinterResolution.cs
- CharacterBuffer.cs
- WebPartHelpVerb.cs
- OracleBoolean.cs
- OleAutBinder.cs
- Timer.cs
- ActivityDesignerAccessibleObject.cs
- QuotedPrintableStream.cs
- DesignerListAdapter.cs
- WebUtil.cs
- AlternateView.cs
- Parameter.cs
- ThicknessAnimation.cs
- DataComponentGenerator.cs
- SafeMarshalContext.cs
- ClientData.cs
- GenericArgumentsUpdater.cs
- X509ClientCertificateCredentialsElement.cs
- DataBoundControl.cs
- ClientSideProviderDescription.cs
- FixedSOMImage.cs
- PageBuildProvider.cs
- localization.cs
- TargetException.cs
- BitArray.cs
- SettingsBindableAttribute.cs
- SendingRequestEventArgs.cs
- AuthorizationRuleCollection.cs
- DesignerSelectionListAdapter.cs
- ToolStripSeparatorRenderEventArgs.cs
- UnmanagedMemoryStreamWrapper.cs
- OdbcParameter.cs
- SafeRightsManagementQueryHandle.cs
- ForAllOperator.cs
- PartialCachingAttribute.cs
- dtdvalidator.cs
- HashHelper.cs
- StringToken.cs
- OdbcError.cs
- TreeNodeBindingCollection.cs
- HandlerBase.cs
- SymbolDocumentGenerator.cs
- ImportDesigner.xaml.cs
- TreeNodeClickEventArgs.cs
- GraphicsPathIterator.cs
- SmtpAuthenticationManager.cs
- BitmapData.cs
- SQLResource.cs
- Transform3D.cs
- EntityDataSourceColumn.cs
- SqlDataSourceCommandEventArgs.cs
- PropertyEmitterBase.cs
- DataBindingCollection.cs
- SecUtil.cs
- StreamMarshaler.cs
- SqlXmlStorage.cs
- DataGridViewCellParsingEventArgs.cs
- SafeEventHandle.cs
- MouseGestureValueSerializer.cs
- RectAnimation.cs
- LongSumAggregationOperator.cs
- DataGridViewTopRowAccessibleObject.cs
- WindowsListView.cs
- SymDocumentType.cs
- TraceListeners.cs
- GetBrowserTokenRequest.cs
- IDReferencePropertyAttribute.cs
- AccessControlEntry.cs
- ToolboxItemWrapper.cs
- SqlDataSourceConfigureSelectPanel.cs
- WebRequestModuleElementCollection.cs
- CacheMemory.cs
- ConvertTextFrag.cs
- MsmqHostedTransportManager.cs
- TrackingConditionCollection.cs
- AttributeInfo.cs
- AddingNewEventArgs.cs