Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Activation / TcpHostedTransportConfiguration.cs / 1 / TcpHostedTransportConfiguration.cs
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Channels; using System.Diagnostics; using System.Web.Hosting; sealed class TcpHostedTransportConfiguration : HostedTransportConfigurationBase { HostedTcpTransportManager uniqueManager; public TcpHostedTransportConfiguration() : base(Uri.UriSchemeNetTcp) { string[] bindings = HostedTransportConfigurationManager.MetabaseSettings.GetBindings(Uri.UriSchemeNetTcp); for (int i = 0; i < bindings.Length; i++) { BaseUriWithWildcard listenAddress = BaseUriWithWildcard.CreateTcpUri(bindings[i]); if (i == 0) { Debug.Print("TcpHostedTransportConfiguration.ctor() Creating the unique TcpTransportManager with ListenUri:" + listenAddress.BaseAddress); uniqueManager = new HostedTcpTransportManager(listenAddress); } this.ListenAddresses.Add(listenAddress); Debug.Print("Registering the unique TcpTransportManager with ListenUri:" + listenAddress.BaseAddress); TcpChannelListener.StaticTransportManagerTable.RegisterUri(listenAddress.BaseAddress, listenAddress.HostNameComparisonMode, uniqueManager); } } internal TcpTransportManager TransportManager { get { return uniqueManager; } } } } // 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
- Semaphore.cs
- DesignOnlyAttribute.cs
- CqlParser.cs
- InputLanguageEventArgs.cs
- BitmapPalette.cs
- BreakSafeBase.cs
- ToolStripDropDownItemDesigner.cs
- RequiredAttributeAttribute.cs
- TimeSpanConverter.cs
- WebServiceEnumData.cs
- Point3DAnimation.cs
- entitydatasourceentitysetnameconverter.cs
- FormattedTextSymbols.cs
- Single.cs
- NavigateUrlConverter.cs
- GradientBrush.cs
- ReturnEventArgs.cs
- ObjectParameterCollection.cs
- ValidationHelper.cs
- LoginDesignerUtil.cs
- ObjectDataSourceDisposingEventArgs.cs
- Query.cs
- AttachmentCollection.cs
- DataGridViewCellConverter.cs
- XmlDesigner.cs
- Grid.cs
- BroadcastEventHelper.cs
- AnnotationComponentChooser.cs
- WindowsUpDown.cs
- XmlDocumentType.cs
- SiteMapDataSource.cs
- PathFigure.cs
- TextTabProperties.cs
- UnmanagedMarshal.cs
- XmlCharacterData.cs
- URL.cs
- ExtensionQuery.cs
- ExcCanonicalXml.cs
- DataMemberConverter.cs
- Rotation3DKeyFrameCollection.cs
- SessionPageStatePersister.cs
- NoPersistHandle.cs
- LocationSectionRecord.cs
- ServiceContractGenerationContext.cs
- safex509handles.cs
- DBNull.cs
- Pair.cs
- CheckBoxField.cs
- XsdSchemaFileEditor.cs
- RadioButton.cs
- StandardToolWindows.cs
- XpsSerializerWriter.cs
- ModuleElement.cs
- FileUtil.cs
- DictionarySectionHandler.cs
- CookielessHelper.cs
- ProtocolsConfigurationEntry.cs
- ObjectSet.cs
- WindowsToolbarAsMenu.cs
- HTTPNotFoundHandler.cs
- XmlSchemaValidationException.cs
- IEnumerable.cs
- XmlCountingReader.cs
- SqlFactory.cs
- GuidTagList.cs
- ProcessProtocolHandler.cs
- OperationAbortedException.cs
- ZipIOCentralDirectoryBlock.cs
- ExpressionBuilderContext.cs
- InternalResources.cs
- _ShellExpression.cs
- ManagementObject.cs
- UIElement3D.cs
- KeyProperty.cs
- TemplateInstanceAttribute.cs
- StringDictionary.cs
- CodeTypeDelegate.cs
- RSAPKCS1SignatureDeformatter.cs
- BitStack.cs
- ServiceHostingEnvironment.cs
- ColorContext.cs
- ActivityMarkupSerializer.cs
- Region.cs
- DefaultValueAttribute.cs
- ButtonPopupAdapter.cs
- BitmapEffect.cs
- InlineCollection.cs
- SystemDiagnosticsSection.cs
- FormsAuthenticationTicket.cs
- XmlReflectionMember.cs
- DateTimeStorage.cs
- AccessedThroughPropertyAttribute.cs
- ClientScriptManager.cs
- EvidenceBase.cs
- DictionaryManager.cs
- CaseDesigner.xaml.cs
- Mouse.cs
- ServerIdentity.cs
- XmlSchemaInclude.cs
- AsyncOperation.cs