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
- LinkedList.cs
- PrintPreviewGraphics.cs
- SymmetricAlgorithm.cs
- SQLUtility.cs
- WebDescriptionAttribute.cs
- X509RawDataKeyIdentifierClause.cs
- TypeConverterHelper.cs
- PromptBuilder.cs
- HTTPRemotingHandler.cs
- WebPartConnectionsConfigureVerb.cs
- FlowNode.cs
- HtmlGenericControl.cs
- TypedTableHandler.cs
- BindableTemplateBuilder.cs
- DetailsViewDeleteEventArgs.cs
- BitHelper.cs
- ScrollEvent.cs
- RemotingConfigParser.cs
- SByteStorage.cs
- HTTPNotFoundHandler.cs
- PropertyPushdownHelper.cs
- KeyValuePair.cs
- VersionedStreamOwner.cs
- SequenceDesigner.cs
- NotFiniteNumberException.cs
- CatalogPartChrome.cs
- InputReferenceExpression.cs
- COM2ComponentEditor.cs
- JavaScriptSerializer.cs
- RightsManagementEncryptionTransform.cs
- SynchronizedInputAdaptor.cs
- BitmapCodecInfoInternal.cs
- CachingHintValidation.cs
- ReaderContextStackData.cs
- OleDbMetaDataFactory.cs
- AsyncParams.cs
- GridViewColumn.cs
- NoneExcludedImageIndexConverter.cs
- RawStylusSystemGestureInputReport.cs
- SpeechSynthesizer.cs
- UpdateManifestForBrowserApplication.cs
- UnsafeNativeMethods.cs
- IBuiltInEvidence.cs
- ImageIndexConverter.cs
- DBNull.cs
- XmlEncoding.cs
- Group.cs
- TextPenaltyModule.cs
- LinearGradientBrush.cs
- PostBackTrigger.cs
- Timer.cs
- RayMeshGeometry3DHitTestResult.cs
- UnionExpr.cs
- WebConfigurationHostFileChange.cs
- ProvidersHelper.cs
- XmlAtomicValue.cs
- XmlParser.cs
- _ConnectOverlappedAsyncResult.cs
- _SslState.cs
- SpeechDetectedEventArgs.cs
- COM2PropertyPageUITypeConverter.cs
- SessionStateModule.cs
- BufferModeSettings.cs
- PropertyIDSet.cs
- ForeignKeyFactory.cs
- DataControlField.cs
- CopyCodeAction.cs
- EntityDataSourceReferenceGroup.cs
- XmlSchemaComplexContentRestriction.cs
- PerfCounters.cs
- JoinSymbol.cs
- AudioBase.cs
- AnonymousIdentificationSection.cs
- EntityContainerEmitter.cs
- UIElement3D.cs
- DataKey.cs
- NonParentingControl.cs
- ScopeCollection.cs
- TextParagraphCache.cs
- IPPacketInformation.cs
- ConcurrencyBehavior.cs
- MimeMapping.cs
- TextBoxLine.cs
- AbandonedMutexException.cs
- ObjectItemCachedAssemblyLoader.cs
- HtmlTextArea.cs
- DBCSCodePageEncoding.cs
- RelOps.cs
- CrossContextChannel.cs
- WarningException.cs
- SessionEndingEventArgs.cs
- TextDecoration.cs
- WrapPanel.cs
- DataBoundControl.cs
- Propagator.cs
- LinearGradientBrush.cs
- __Error.cs
- WinEventHandler.cs
- DataListItemCollection.cs
- rsa.cs