Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / MsmqIntegration / MsmqIntegrationChannelListener.cs / 1 / MsmqIntegrationChannelListener.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.MsmqIntegration { using System.ServiceModel.Channels; using System.Xml; using System.Xml.Serialization; sealed class MsmqIntegrationChannelListener : MsmqInputChannelListenerBase { XmlSerializer[] xmlSerializerList; internal MsmqIntegrationChannelListener(MsmqBindingElementBase bindingElement, BindingContext context, MsmqReceiveParameters receiveParameters) : base(bindingElement, context, receiveParameters, null) { SetSecurityTokenAuthenticator(MsmqUri.FormatNameAddressTranslator.Scheme, context); MsmqIntegrationReceiveParameters parameters = receiveParameters as MsmqIntegrationReceiveParameters; xmlSerializerList = XmlSerializer.FromTypes(parameters.TargetSerializationTypes); } public override string Scheme { get { return "msmq.formatname"; } } internal XmlSerializer[] XmlSerializerList { get { return this.xmlSerializerList; } } protected override IInputChannel CreateInputChannel(MsmqInputChannelListenerBase listener) { return new MsmqIntegrationInputChannel(this); } } } // 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
- ImageField.cs
- XmlChoiceIdentifierAttribute.cs
- MembershipValidatePasswordEventArgs.cs
- Message.cs
- TraceContextEventArgs.cs
- RegexBoyerMoore.cs
- Pen.cs
- AutoResizedEvent.cs
- RequestCachePolicyConverter.cs
- MemoryStream.cs
- SafeBuffer.cs
- _AutoWebProxyScriptHelper.cs
- BulletDecorator.cs
- NullEntityWrapper.cs
- GridView.cs
- DebugInfoExpression.cs
- ColumnMap.cs
- PopupEventArgs.cs
- IgnoreFlushAndCloseStream.cs
- SmiEventSink_Default.cs
- HelpKeywordAttribute.cs
- DependencyObject.cs
- DataObjectMethodAttribute.cs
- SecUtil.cs
- Util.cs
- SmtpSection.cs
- ListMarkerSourceInfo.cs
- StringPropertyBuilder.cs
- ValidationRuleCollection.cs
- XmlHierarchicalEnumerable.cs
- IBuiltInEvidence.cs
- DesignerExtenders.cs
- RayMeshGeometry3DHitTestResult.cs
- MenuItemAutomationPeer.cs
- EntitySetRetriever.cs
- CryptoStream.cs
- SqlCacheDependencySection.cs
- SessionStateItemCollection.cs
- LineGeometry.cs
- PartBasedPackageProperties.cs
- HierarchicalDataSourceIDConverter.cs
- EventToken.cs
- CapabilitiesPattern.cs
- ExtendedPropertyDescriptor.cs
- ActivityTypeDesigner.xaml.cs
- RecognitionEventArgs.cs
- XmlQueryStaticData.cs
- AxisAngleRotation3D.cs
- RtfToXamlReader.cs
- ValueTable.cs
- SingleAnimationBase.cs
- QilValidationVisitor.cs
- NumericUpDownAcceleration.cs
- XmlAutoDetectWriter.cs
- Predicate.cs
- EntityDescriptor.cs
- HostVisual.cs
- Decoder.cs
- DeflateStreamAsyncResult.cs
- BaseDataListDesigner.cs
- CryptographicAttribute.cs
- CompilationSection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Keywords.cs
- LinkedResource.cs
- shaperfactoryquerycachekey.cs
- _Win32.cs
- ZoomPercentageConverter.cs
- FontSourceCollection.cs
- CLSCompliantAttribute.cs
- InheritanceContextHelper.cs
- TypeAccessException.cs
- XmlNode.cs
- ListMarkerSourceInfo.cs
- Inflater.cs
- TypeUnloadedException.cs
- GACIdentityPermission.cs
- WebBrowser.cs
- LineGeometry.cs
- QilPatternVisitor.cs
- WebServiceErrorEvent.cs
- StorageEntityContainerMapping.cs
- PasswordTextContainer.cs
- DbMetaDataFactory.cs
- BatchParser.cs
- DictationGrammar.cs
- KeyTimeConverter.cs
- DataControlLinkButton.cs
- XmlConvert.cs
- DecimalAnimationUsingKeyFrames.cs
- ShaderEffect.cs
- FixedDocument.cs
- Pkcs9Attribute.cs
- EntityException.cs
- AsyncPostBackErrorEventArgs.cs
- RectKeyFrameCollection.cs
- DataAdapter.cs
- _AcceptOverlappedAsyncResult.cs
- Serializer.cs
- PrinterSettings.cs