Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Activation / Configuration / NetPipeSection.cs / 1 / NetPipeSection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Activation.Configuration { using System; using System.Configuration; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Security.Principal; using System.ServiceModel.Channels; public sealed partial class NetPipeSection : ConfigurationSection { public NetPipeSection() : base() { } [ConfigurationProperty(ConfigurationStrings.AllowAccounts)] public SecurityIdentifierElementCollection AllowAccounts { get { return (SecurityIdentifierElementCollection)base[ConfigurationStrings.AllowAccounts]; } } static internal NetPipeSection GetSection() { NetPipeSection retval = (NetPipeSection)ConfigurationManager.GetSection(ConfigurationStrings.NetPipeSectionPath); if (retval == null) { retval = new NetPipeSection(); } return retval; } protected override void InitializeDefault() { this.AllowAccounts.SetDefaultIdentifiers(); } [ConfigurationProperty(ConfigurationStrings.MaxPendingConnections, DefaultValue = ListenerConstants.DefaultMaxPendingConnections)] [IntegerValidator(MinValue = 1)] public int MaxPendingConnections { get { return (int)base[ConfigurationStrings.MaxPendingConnections]; } set { base[ConfigurationStrings.MaxPendingConnections] = value; } } [ConfigurationProperty(ConfigurationStrings.MaxPendingAccepts, DefaultValue = ListenerConstants.DefaultMaxPendingAccepts)] [IntegerValidator(MinValue = 1)] public int MaxPendingAccepts { get { return (int)base[ConfigurationStrings.MaxPendingAccepts]; } set { base[ConfigurationStrings.MaxPendingAccepts] = value; } } [ConfigurationProperty(ConfigurationStrings.ReceiveTimeout, DefaultValue = ListenerConstants.DefaultReceiveTimeoutString)] [System.ComponentModel.TypeConverter(typeof(TimeSpanOrInfiniteConverter))] [System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] public TimeSpan ReceiveTimeout { get { return (TimeSpan)base[ConfigurationStrings.ReceiveTimeout]; } set { base[ConfigurationStrings.ReceiveTimeout] = value; } } } } // 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
- LicenseManager.cs
- XPathParser.cs
- TextBox.cs
- AssemblyResourceLoader.cs
- SqlDataSourceQueryConverter.cs
- ClassHandlersStore.cs
- BrushConverter.cs
- RuleSettingsCollection.cs
- SuppressMergeCheckAttribute.cs
- SafeNativeMethods.cs
- ConfigurationValidatorAttribute.cs
- ToolStripItemDesigner.cs
- XmlSignificantWhitespace.cs
- StyleSheetComponentEditor.cs
- CheckedPointers.cs
- ClassHandlersStore.cs
- FontUnitConverter.cs
- AssociationSetMetadata.cs
- SqlDataSourceCache.cs
- BamlLocalizableResource.cs
- ValidationEventArgs.cs
- WebFormsRootDesigner.cs
- DataGridViewCellParsingEventArgs.cs
- OleDbDataReader.cs
- RSAOAEPKeyExchangeFormatter.cs
- DispatcherFrame.cs
- PermissionRequestEvidence.cs
- WorkflowQueueInfo.cs
- MethodCallTranslator.cs
- AssociationSetMetadata.cs
- EpmTargetPathSegment.cs
- TokenCreationException.cs
- JsonSerializer.cs
- RequestSecurityToken.cs
- SqlProviderServices.cs
- Message.cs
- HashCodeCombiner.cs
- Error.cs
- Utils.cs
- CheckBox.cs
- FlowLayoutPanel.cs
- SyndicationFeed.cs
- OrderingInfo.cs
- NegationPusher.cs
- Models.cs
- DbConnectionStringCommon.cs
- PassportIdentity.cs
- DatasetMethodGenerator.cs
- TreeNodeStyle.cs
- XhtmlCssHandler.cs
- EnumerableValidator.cs
- RegexGroupCollection.cs
- SpeechUI.cs
- documentsequencetextcontainer.cs
- StreamResourceInfo.cs
- IntranetCredentialPolicy.cs
- DataGridViewLinkCell.cs
- errorpatternmatcher.cs
- BamlLocalizer.cs
- WCFBuildProvider.cs
- ControlAdapter.cs
- TypeForwardedToAttribute.cs
- AttachmentService.cs
- SubpageParagraph.cs
- XmlFormatExtensionPrefixAttribute.cs
- ColorMap.cs
- PageRouteHandler.cs
- DataGridViewSelectedCellCollection.cs
- UInt32Storage.cs
- DrawingContext.cs
- RuleInfoComparer.cs
- ConnectionConsumerAttribute.cs
- PolicyException.cs
- NotifyParentPropertyAttribute.cs
- MaskInputRejectedEventArgs.cs
- XmlEncodedRawTextWriter.cs
- TreeWalker.cs
- Relationship.cs
- Stylus.cs
- XmlSchemaSet.cs
- ASCIIEncoding.cs
- InnerItemCollectionView.cs
- AuthenticationSection.cs
- Attributes.cs
- MenuItemCollectionEditor.cs
- XmlCharacterData.cs
- BoolLiteral.cs
- DbDataRecord.cs
- CounterSetInstance.cs
- ScalarType.cs
- DataGridBoolColumn.cs
- PortCache.cs
- XmlValueConverter.cs
- FrameworkElementFactoryMarkupObject.cs
- ConnectionsZone.cs
- PolyBezierSegmentFigureLogic.cs
- Transform3D.cs
- AnnotationComponentChooser.cs
- HasRunnableWorkflowEvent.cs
- IisTraceWebEventProvider.cs