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
- CharacterMetricsDictionary.cs
- TextViewSelectionProcessor.cs
- TypeSystem.cs
- Suspend.cs
- ChangeConflicts.cs
- Typeface.cs
- CheckBox.cs
- DispatcherHookEventArgs.cs
- Accessible.cs
- DataPagerFieldCollection.cs
- AssemblyBuilder.cs
- Rfc2898DeriveBytes.cs
- NameHandler.cs
- NavigationPropertyAccessor.cs
- QueryTask.cs
- HtmlTextArea.cs
- ProxyHwnd.cs
- RewritingPass.cs
- DirectionalLight.cs
- PropertyStore.cs
- PerformanceCounterPermission.cs
- SettingsProviderCollection.cs
- ConnectionStringSettingsCollection.cs
- OrderedParallelQuery.cs
- RealProxy.cs
- StrokeCollection2.cs
- ResolveResponse.cs
- CacheDependency.cs
- DataTablePropertyDescriptor.cs
- CssStyleCollection.cs
- RuleConditionDialog.cs
- UIElement3D.cs
- TreeViewImageIndexConverter.cs
- OutputScope.cs
- QuotaExceededException.cs
- Unit.cs
- XmlEventCache.cs
- ReturnValue.cs
- TdsParameterSetter.cs
- AstTree.cs
- SingleTagSectionHandler.cs
- NamedPipeConnectionPool.cs
- XmlILOptimizerVisitor.cs
- SByte.cs
- HostedTcpTransportManager.cs
- WindowsStartMenu.cs
- IPipelineRuntime.cs
- TrackingServices.cs
- DataGridViewIntLinkedList.cs
- SecurityChannel.cs
- _emptywebproxy.cs
- DataGridViewUtilities.cs
- Group.cs
- IfJoinedCondition.cs
- WebPartHelpVerb.cs
- State.cs
- BitmapMetadataBlob.cs
- Floater.cs
- UnsafeNetInfoNativeMethods.cs
- MULTI_QI.cs
- DBConnectionString.cs
- NullRuntimeConfig.cs
- ReaderWriterLock.cs
- ObjectListTitleAttribute.cs
- MemberCollection.cs
- XmlBinaryReader.cs
- Activator.cs
- ZipIOLocalFileBlock.cs
- Bitmap.cs
- RequestQueryParser.cs
- WeakEventTable.cs
- DataRow.cs
- SafeProcessHandle.cs
- Help.cs
- BrowserCapabilitiesCompiler.cs
- ResourceType.cs
- DesigntimeLicenseContext.cs
- WMIGenerator.cs
- AttachedPropertiesService.cs
- HashHelper.cs
- MostlySingletonList.cs
- XamlClipboardData.cs
- CustomWebEventKey.cs
- loginstatus.cs
- StylusPointCollection.cs
- RtfToXamlReader.cs
- TwoPhaseCommit.cs
- PrtCap_Base.cs
- MultiTrigger.cs
- ModelFunctionTypeElement.cs
- RowTypePropertyElement.cs
- ChannelSinkStacks.cs
- SecurityRuntime.cs
- BufferBuilder.cs
- ActivityExecutionContext.cs
- MediaScriptCommandRoutedEventArgs.cs
- CapabilitiesPattern.cs
- CompletionBookmark.cs
- WebReferenceOptions.cs
- StringFormat.cs