Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / WasHosting / System / ServiceModel / WasHosting / NamedPipeAppDomainProtocolHandler.cs / 1 / NamedPipeAppDomainProtocolHandler.cs
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel.WasHosting { using System.ServiceModel.Activation; using System.ServiceModel.Channels; class NamedPipeAppDomainProtocolHandler : BaseAppDomainProtocolHandler { HostedNamedPipeTransportManager transportManager; public NamedPipeAppDomainProtocolHandler() : base(Uri.UriSchemeNetPipe) { } protected override void OnStart() { NamedPipeHostedTransportConfiguration configuration = HostedTransportConfigurationManager.GetConfiguration(Uri.UriSchemeNetPipe) as NamedPipeHostedTransportConfiguration; transportManager = configuration.TransportManager as HostedNamedPipeTransportManager; transportManager.Start(listenerChannelContext.ListenerChannelId, listenerChannelContext.Token, OnMessageReceived); } protected override void OnStop() { if (transportManager != null) { transportManager.Stop(); } } } } // 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
- XPathSingletonIterator.cs
- SafeRightsManagementHandle.cs
- StrongNameKeyPair.cs
- ContextMenu.cs
- CompModSwitches.cs
- AnimationTimeline.cs
- ConfigUtil.cs
- ThrowHelper.cs
- Parser.cs
- Property.cs
- DeferredTextReference.cs
- DocumentXmlWriter.cs
- PeerNearMe.cs
- BamlLocalizableResource.cs
- IERequestCache.cs
- SslStream.cs
- SimpleTextLine.cs
- QuadraticBezierSegment.cs
- ExpressionTable.cs
- ProxyGenerator.cs
- CalendarDateChangedEventArgs.cs
- UnaryExpressionHelper.cs
- Win32KeyboardDevice.cs
- ImportedNamespaceContextItem.cs
- SchemaType.cs
- SynchronizationLockException.cs
- ValidatingReaderNodeData.cs
- DropTarget.cs
- ProvideValueServiceProvider.cs
- ClientType.cs
- ResolveNextArgumentWorkItem.cs
- GeneralTransform2DTo3D.cs
- StreamUpdate.cs
- FullTextState.cs
- NotSupportedException.cs
- UserControlBuildProvider.cs
- InternalConfigRoot.cs
- ControlParameter.cs
- PasswordRecoveryDesigner.cs
- ExpressionCopier.cs
- GridView.cs
- CryptoApi.cs
- Task.cs
- OciHandle.cs
- ParseNumbers.cs
- TypeDependencyAttribute.cs
- XslCompiledTransform.cs
- ClientProtocol.cs
- ExclusiveTcpListener.cs
- XmlNullResolver.cs
- IsolatedStorageSecurityState.cs
- DLinqTableProvider.cs
- HeaderCollection.cs
- WSDualHttpSecurityElement.cs
- PaginationProgressEventArgs.cs
- CodeArrayIndexerExpression.cs
- DocumentGridContextMenu.cs
- OperandQuery.cs
- SystemDropShadowChrome.cs
- AmbiguousMatchException.cs
- EraserBehavior.cs
- ReferencedCollectionType.cs
- ResourceDescriptionAttribute.cs
- _Connection.cs
- KnownBoxes.cs
- InheritablePropertyChangeInfo.cs
- ClonableStack.cs
- ApplicationProxyInternal.cs
- DocumentXPathNavigator.cs
- GenericIdentity.cs
- SslStream.cs
- BaseConfigurationRecord.cs
- FactoryGenerator.cs
- ScriptHandlerFactory.cs
- ObjectDataSourceView.cs
- SimpleWorkerRequest.cs
- ScriptControlManager.cs
- ExpandSegment.cs
- ListCollectionView.cs
- RSAPKCS1SignatureDeformatter.cs
- DataColumnPropertyDescriptor.cs
- BuilderInfo.cs
- ColorContext.cs
- ToolboxItem.cs
- DbProviderFactory.cs
- SqlNode.cs
- SystemGatewayIPAddressInformation.cs
- ArrayList.cs
- BaseParser.cs
- ColorConvertedBitmap.cs
- XmlProcessingInstruction.cs
- Operators.cs
- CodeObjectCreateExpression.cs
- DelegatingHeader.cs
- DrawingGroup.cs
- InvalidateEvent.cs
- PackWebResponse.cs
- BitmapEffectGroup.cs
- XmlBaseWriter.cs
- Animatable.cs