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
- XmlAttributeOverrides.cs
- SecurityTokenResolver.cs
- ResourceReferenceExpression.cs
- ScaleTransform.cs
- CodeTypeReferenceCollection.cs
- SqlBulkCopyColumnMappingCollection.cs
- ObjectListSelectEventArgs.cs
- HebrewCalendar.cs
- ToolStripRenderEventArgs.cs
- MenuItemCollection.cs
- MimeWriter.cs
- ProviderBase.cs
- RunWorkerCompletedEventArgs.cs
- DeflateStreamAsyncResult.cs
- MatrixTransform.cs
- ObfuscateAssemblyAttribute.cs
- messageonlyhwndwrapper.cs
- TemplatingOptionsDialog.cs
- XmlHierarchyData.cs
- DataGridViewTextBoxEditingControl.cs
- ExpressionWriter.cs
- QueryInterceptorAttribute.cs
- MatchingStyle.cs
- MetadataAssemblyHelper.cs
- AssemblyInfo.cs
- HorizontalAlignConverter.cs
- SqlBuilder.cs
- PriorityBinding.cs
- Utils.cs
- DataServiceQuery.cs
- DataBindEngine.cs
- HandlerMappingMemo.cs
- BypassElement.cs
- CodeTypeReferenceCollection.cs
- DataGridViewAdvancedBorderStyle.cs
- InspectionWorker.cs
- WebConfigurationHost.cs
- HierarchicalDataTemplate.cs
- EntityStoreSchemaFilterEntry.cs
- NativeMethods.cs
- OptimisticConcurrencyException.cs
- ProviderUtil.cs
- RSACryptoServiceProvider.cs
- RotateTransform3D.cs
- AmbientProperties.cs
- UnaryNode.cs
- GridViewColumnCollection.cs
- ObjectStateFormatter.cs
- NullRuntimeConfig.cs
- GeometryDrawing.cs
- DataProtection.cs
- WindowsEditBoxRange.cs
- CollectionBase.cs
- ObjRef.cs
- AxHost.cs
- ellipse.cs
- Mutex.cs
- DataServiceProcessingPipelineEventArgs.cs
- Keywords.cs
- DesignerHost.cs
- XsltException.cs
- Decimal.cs
- RegistrationServices.cs
- SecurityContextTokenValidationException.cs
- MethodExpr.cs
- NonBatchDirectoryCompiler.cs
- TreeNodeCollectionEditorDialog.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- Debug.cs
- ServiceHttpHandlerFactory.cs
- _NegotiateClient.cs
- Int32Converter.cs
- XmlSerializableWriter.cs
- InputScopeAttribute.cs
- UnsafeNativeMethodsCLR.cs
- fixedPageContentExtractor.cs
- DataGridView.cs
- AssemblyCollection.cs
- TextSchema.cs
- CharEntityEncoderFallback.cs
- SchemaObjectWriter.cs
- QuerySelectOp.cs
- JapaneseCalendar.cs
- DataShape.cs
- SBCSCodePageEncoding.cs
- WeakEventTable.cs
- XmlWriterDelegator.cs
- PropertyGrid.cs
- TopClause.cs
- ProofTokenCryptoHandle.cs
- MarkupExtensionParser.cs
- WebBrowserPermission.cs
- RenderDataDrawingContext.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ManagementQuery.cs
- PixelFormats.cs
- ConstrainedDataObject.cs
- QilNode.cs
- AsyncCompletedEventArgs.cs
- PointHitTestParameters.cs