Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Activation / NamedPipeHostedTransportConfiguration.cs / 1 / NamedPipeHostedTransportConfiguration.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 NamedPipeHostedTransportConfiguration : HostedTransportConfigurationBase { HostedNamedPipeTransportManager uniqueManager; public NamedPipeHostedTransportConfiguration() : base(Uri.UriSchemeNetPipe) { string[] bindings = HostedTransportConfigurationManager.MetabaseSettings.GetBindings(Uri.UriSchemeNetPipe); for (int i = 0; i < bindings.Length; i++) { BaseUriWithWildcard listenAddress = BaseUriWithWildcard.CreatePipeUri(bindings[i]); if (i == 0) { Debug.Print("NamedPipeHostedTransportConfiguration.ctor() Creating the unique NamedPipeTransportManager with ListenUri:" + listenAddress.BaseAddress); uniqueManager = new HostedNamedPipeTransportManager(listenAddress); } this.ListenAddresses.Add(listenAddress); Debug.Print("Registering the unique NamedPipeTransportManager with ListenUri:" + listenAddress.BaseAddress); NamedPipeChannelListener.StaticTransportManagerTable.RegisterUri(listenAddress.BaseAddress, listenAddress.HostNameComparisonMode, uniqueManager); } } internal NamedPipeTransportManager 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
- FormsAuthenticationModule.cs
- COM2IProvidePropertyBuilderHandler.cs
- ObjectTag.cs
- CreateUserErrorEventArgs.cs
- InvalidAsynchronousStateException.cs
- CollectionChangeEventArgs.cs
- _NegoStream.cs
- ExpressionLexer.cs
- TagPrefixInfo.cs
- InkCanvasSelection.cs
- Unit.cs
- SqlDependency.cs
- RestHandlerFactory.cs
- ColorTranslator.cs
- TryCatch.cs
- TableLayoutPanelCellPosition.cs
- CollectionType.cs
- HandlerBase.cs
- Point3DValueSerializer.cs
- Message.cs
- MouseBinding.cs
- SynchronizationLockException.cs
- DbModificationCommandTree.cs
- ComboBox.cs
- HttpConfigurationSystem.cs
- ServiceBehaviorElement.cs
- BaseInfoTable.cs
- StringReader.cs
- FixedDSBuilder.cs
- SqlReferenceCollection.cs
- CompositeTypefaceMetrics.cs
- XmlCustomFormatter.cs
- Utils.cs
- CompModSwitches.cs
- AttachedPropertyMethodSelector.cs
- SimpleApplicationHost.cs
- XmlILStorageConverter.cs
- PropertyDescriptorComparer.cs
- UnmanagedBitmapWrapper.cs
- TypeBrowserDialog.cs
- Query.cs
- TreeViewImageKeyConverter.cs
- Vector.cs
- StructuredTypeInfo.cs
- MetadataUtilsSmi.cs
- cryptoapiTransform.cs
- LogManagementAsyncResult.cs
- RecipientInfo.cs
- ConditionalAttribute.cs
- ToolboxComponentsCreatingEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- DependencyObject.cs
- EtwTrackingBehaviorElement.cs
- ContextMenu.cs
- ItemCheckEvent.cs
- sapiproxy.cs
- WebPartConnectionsConnectVerb.cs
- LongCountAggregationOperator.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- SvcMapFileLoader.cs
- PackWebRequest.cs
- EventDescriptorCollection.cs
- PerfCounters.cs
- DesignParameter.cs
- FilterUserControlBase.cs
- FontSizeConverter.cs
- ProxyGenerationError.cs
- DetailsViewModeEventArgs.cs
- ActivityStatusChangeEventArgs.cs
- RC2CryptoServiceProvider.cs
- QueryResponse.cs
- WebConfigurationHostFileChange.cs
- DataGridViewCellFormattingEventArgs.cs
- TreeViewImageIndexConverter.cs
- DelimitedListTraceListener.cs
- HttpRuntime.cs
- SqlTrackingQuery.cs
- ObjectStateFormatter.cs
- DataGridViewCellFormattingEventArgs.cs
- UnknownWrapper.cs
- AppDomainInfo.cs
- Dictionary.cs
- DefinitionBase.cs
- WebHeaderCollection.cs
- ProviderMetadataCachedInformation.cs
- CodeBinaryOperatorExpression.cs
- SafeCryptoHandles.cs
- xmlfixedPageInfo.cs
- QueryableDataSourceView.cs
- IPHostEntry.cs
- UpWmlMobileTextWriter.cs
- InsufficientExecutionStackException.cs
- IRCollection.cs
- _TransmitFileOverlappedAsyncResult.cs
- FileIOPermission.cs
- InstancePersistenceEvent.cs
- PropertyEmitterBase.cs
- ParameterBuilder.cs
- Axis.cs
- SignatureResourcePool.cs