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
- xsdvalidator.cs
- ColumnResult.cs
- OverflowException.cs
- EmptyEnumerator.cs
- WebControlParameterProxy.cs
- Int16Animation.cs
- EdmFunction.cs
- XPathItem.cs
- XPathNodeIterator.cs
- ProtectedConfigurationProviderCollection.cs
- EmptyCollection.cs
- ApplicationSettingsBase.cs
- SmtpSection.cs
- RegexCompilationInfo.cs
- WebServiceParameterData.cs
- ElementHost.cs
- XmlHierarchyData.cs
- QuaternionAnimationBase.cs
- EventLogPermissionEntry.cs
- LightweightEntityWrapper.cs
- ObjectHandle.cs
- DataGridViewEditingControlShowingEventArgs.cs
- IntranetCredentialPolicy.cs
- QueryOptionExpression.cs
- LocalizedNameDescriptionPair.cs
- SQLCharsStorage.cs
- ResourceManager.cs
- OuterProxyWrapper.cs
- ImageSourceConverter.cs
- NeutralResourcesLanguageAttribute.cs
- Compiler.cs
- MessageBodyMemberAttribute.cs
- Control.cs
- StructureChangedEventArgs.cs
- FillErrorEventArgs.cs
- SamlDelegatingWriter.cs
- GACIdentityPermission.cs
- TypeGeneratedEventArgs.cs
- SmiRequestExecutor.cs
- Brush.cs
- CalloutQueueItem.cs
- ExtensibleClassFactory.cs
- PointCollectionConverter.cs
- DictionaryTraceRecord.cs
- TransactionScope.cs
- ReaderContextStackData.cs
- FlowLayoutPanel.cs
- ResourceReferenceExpressionConverter.cs
- PropertyValueChangedEvent.cs
- DesignerAttribute.cs
- Win32SafeHandles.cs
- FileDetails.cs
- NotFiniteNumberException.cs
- ProcessManager.cs
- SQlBooleanStorage.cs
- DrawingContextWalker.cs
- SerialReceived.cs
- WebPageTraceListener.cs
- RequestCachePolicy.cs
- IPGlobalProperties.cs
- EventLogEntryCollection.cs
- RuleCache.cs
- HwndStylusInputProvider.cs
- ManipulationStartedEventArgs.cs
- metadatamappinghashervisitor.cs
- DocumentOrderQuery.cs
- ProxyWebPart.cs
- SlipBehavior.cs
- OneWayElement.cs
- SqlServer2KCompatibilityCheck.cs
- FilterableAttribute.cs
- XXXInfos.cs
- CachedFontFamily.cs
- CodeObjectCreateExpression.cs
- NamespaceEmitter.cs
- WebMessageEncodingElement.cs
- MarshalByValueComponent.cs
- TextElementCollection.cs
- DataControlLinkButton.cs
- DataGridLinkButton.cs
- MediaContext.cs
- ConfigXmlWhitespace.cs
- ReferencedAssembly.cs
- assemblycache.cs
- DataGridViewCellStyle.cs
- TableRow.cs
- ButtonFlatAdapter.cs
- FontStyleConverter.cs
- WindowsFormsSynchronizationContext.cs
- ExecutorLocksHeldException.cs
- DbMetaDataColumnNames.cs
- GridViewColumnCollectionChangedEventArgs.cs
- SplitterCancelEvent.cs
- ButtonRenderer.cs
- RankException.cs
- PointUtil.cs
- Filter.cs
- InfoCardPolicy.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DataObjectCopyingEventArgs.cs