Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / SMSvcHost / System / ServiceModel / Activation / NetPipeSectionData.cs / 1 / NetPipeSectionData.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Collections.Generic; using System.Security.Principal; using System.Configuration; using System.Diagnostics; using System.ServiceModel.Diagnostics; using System.ServiceModel.Activation.Configuration; class NetPipeSectionData { int maxPendingConnections; int maxPendingAccepts; TimeSpan receiveTimeout; ListallowAccounts; public NetPipeSectionData() { NetPipeSection section = (NetPipeSection)ConfigurationManager.GetSection(ConfigurationStrings.NetPipeSectionPath); if (section == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException()); } this.maxPendingConnections = section.MaxPendingConnections; this.maxPendingAccepts = section.MaxPendingAccepts; this.receiveTimeout = section.ReceiveTimeout; this.allowAccounts = new List (); foreach (SecurityIdentifierElement element in section.AllowAccounts) { this.allowAccounts.Add(element.SecurityIdentifier); } } public int MaxPendingConnections { get { return this.maxPendingConnections; } } public int MaxPendingAccepts { get { return this.maxPendingAccepts; } } public TimeSpan ReceiveTimeout { get { return this.receiveTimeout; } } public List AllowAccounts { get { return this.allowAccounts; } } } } // 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
- XmlLangPropertyAttribute.cs
- WebUtil.cs
- TreeNodeSelectionProcessor.cs
- XmlnsDefinitionAttribute.cs
- ImagingCache.cs
- ReadOnlyDataSource.cs
- XmlDocumentSurrogate.cs
- SystemSounds.cs
- WebPartZoneCollection.cs
- SafeNativeMethods.cs
- Trace.cs
- SrgsGrammarCompiler.cs
- PasswordPropertyTextAttribute.cs
- ProtectedUri.cs
- FrameSecurityDescriptor.cs
- PropertyChangingEventArgs.cs
- Dynamic.cs
- ResourceCodeDomSerializer.cs
- categoryentry.cs
- TouchFrameEventArgs.cs
- Scheduling.cs
- IriParsingElement.cs
- XamlStyleSerializer.cs
- ClientBuildManagerCallback.cs
- AttachedPropertyMethodSelector.cs
- Simplifier.cs
- Normalizer.cs
- XamlFxTrace.cs
- SqlDataSourceWizardForm.cs
- MissingMethodException.cs
- MarshalDirectiveException.cs
- XmlAttribute.cs
- Buffer.cs
- OrderByQueryOptionExpression.cs
- AddInToken.cs
- ScaleTransform3D.cs
- SynchronizedDispatch.cs
- StaticFileHandler.cs
- BitmapEffectGroup.cs
- InputReport.cs
- NamespaceList.cs
- MultiPageTextView.cs
- FolderLevelBuildProvider.cs
- ConfigUtil.cs
- ErrorHandler.cs
- WebPartCloseVerb.cs
- SparseMemoryStream.cs
- RecognizerStateChangedEventArgs.cs
- ProjectionCamera.cs
- FormViewUpdateEventArgs.cs
- SqlConnectionStringBuilder.cs
- SqlNodeAnnotation.cs
- XPathNavigatorReader.cs
- Lasso.cs
- BrowserCapabilitiesCodeGenerator.cs
- RMEnrollmentPage2.cs
- NullableDoubleMinMaxAggregationOperator.cs
- SchemaNames.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- SignedPkcs7.cs
- StructuredProperty.cs
- KeyboardNavigation.cs
- XmlMapping.cs
- TypeDescriptionProviderAttribute.cs
- XmlSchemaCompilationSettings.cs
- GAC.cs
- CodeStatement.cs
- GridViewHeaderRowPresenter.cs
- XmlDataFileEditor.cs
- ConfigXmlReader.cs
- updateconfighost.cs
- DefaultTextStoreTextComposition.cs
- TransactionTable.cs
- HebrewNumber.cs
- DataBindEngine.cs
- TextPenaltyModule.cs
- NotificationContext.cs
- ActivityCodeDomSerializationManager.cs
- Operators.cs
- HostedElements.cs
- MenuItemStyle.cs
- SqlTransaction.cs
- MSAAWinEventWrap.cs
- EmptyControlCollection.cs
- CacheChildrenQuery.cs
- SQlBooleanStorage.cs
- HttpApplication.cs
- ComponentChangedEvent.cs
- EntityCommand.cs
- ArrayWithOffset.cs
- DataServiceQueryProvider.cs
- GridViewEditEventArgs.cs
- DataControlFieldCell.cs
- SqlInfoMessageEvent.cs
- SqlFunctionAttribute.cs
- COAUTHIDENTITY.cs
- HtmlFormAdapter.cs
- LogicalTreeHelper.cs
- AccessDataSourceWizardForm.cs
- XmlQualifiedName.cs