Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / WasHosting / System / ServiceModel / WasHosting / MsmqIntegrationProcessProtocolHandler.cs / 1305376 / MsmqIntegrationProcessProtocolHandler.cs
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel.WasHosting { using System.Diagnostics.CodeAnalysis; using System.Runtime; using System.Runtime.InteropServices; using System.ServiceModel.Channels; using System.ServiceModel.Activation; using System.Web.Hosting; [SuppressMessage(FxCop.Category.Performance, FxCop.Rule.AvoidUninstantiatedInternalClasses, Justification = "Instantiated by ASP.NET")] class MsmqIntegrationProcessProtocolHandler : BaseProcessProtocolHandler { public MsmqIntegrationProcessProtocolHandler() : base(MsmqUri.FormatNameAddressTranslator.Scheme) { } internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex) { listenerChannelCallback.ReportStarted(); listenerChannelCallback.ReportStopped(Marshal.GetHRForException(ex)); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel.WasHosting { using System.Diagnostics.CodeAnalysis; using System.Runtime; using System.Runtime.InteropServices; using System.ServiceModel.Channels; using System.ServiceModel.Activation; using System.Web.Hosting; [SuppressMessage(FxCop.Category.Performance, FxCop.Rule.AvoidUninstantiatedInternalClasses, Justification = "Instantiated by ASP.NET")] class MsmqIntegrationProcessProtocolHandler : BaseProcessProtocolHandler { public MsmqIntegrationProcessProtocolHandler() : base(MsmqUri.FormatNameAddressTranslator.Scheme) { } internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex) { listenerChannelCallback.ReportStarted(); listenerChannelCallback.ReportStopped(Marshal.GetHRForException(ex)); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OpCellTreeNode.cs
- LocationEnvironment.cs
- ColorTransform.cs
- TransactionScope.cs
- MetabaseServerConfig.cs
- SqlFactory.cs
- DocobjHost.cs
- HtmlInputCheckBox.cs
- WithParamAction.cs
- CorrelationTokenInvalidatedHandler.cs
- ProxyGenerationError.cs
- EditBehavior.cs
- TreeNode.cs
- PerformanceCounterPermissionEntryCollection.cs
- SizeFConverter.cs
- DbTransaction.cs
- PermissionAttributes.cs
- DefaultAssemblyResolver.cs
- AuthenticationSection.cs
- ToolboxItem.cs
- Walker.cs
- CheckedPointers.cs
- TransformValueSerializer.cs
- JsonWriterDelegator.cs
- AnnotationMap.cs
- Single.cs
- CompoundFileReference.cs
- HwndHostAutomationPeer.cs
- CodeValidator.cs
- Random.cs
- BackgroundWorker.cs
- SerialStream.cs
- XamlRtfConverter.cs
- DataColumnMapping.cs
- MembershipUser.cs
- HttpModuleActionCollection.cs
- MenuBase.cs
- FlatButtonAppearance.cs
- ConnectionManager.cs
- XsltLibrary.cs
- XmlValueConverter.cs
- PerformanceCounterPermission.cs
- XmlLoader.cs
- VisualProxy.cs
- Mapping.cs
- ColorTransform.cs
- DbException.cs
- WebPartConnectionsCancelEventArgs.cs
- FieldBuilder.cs
- FontInfo.cs
- DataGridViewCell.cs
- SerializationObjectManager.cs
- DataGridViewCellFormattingEventArgs.cs
- ContentValidator.cs
- PrimitiveType.cs
- PublisherMembershipCondition.cs
- FlowDocument.cs
- XNodeValidator.cs
- Util.cs
- ECDsaCng.cs
- ClientCultureInfo.cs
- SaveLedgerEntryRequest.cs
- AccessText.cs
- XmlnsCache.cs
- ListViewInsertedEventArgs.cs
- FixedTextView.cs
- DefaultCommandConverter.cs
- Properties.cs
- MSAAEventDispatcher.cs
- Splitter.cs
- GridViewColumnHeaderAutomationPeer.cs
- EndOfStreamException.cs
- util.cs
- ToolStripDropDownMenu.cs
- GetIndexBinder.cs
- FlowLayoutSettings.cs
- DbMetaDataFactory.cs
- Rect3D.cs
- Dispatcher.cs
- Utility.cs
- CompiledXpathExpr.cs
- Activity.cs
- XsltException.cs
- SectionInformation.cs
- XmlUtilWriter.cs
- TreeBuilder.cs
- GregorianCalendar.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ADConnectionHelper.cs
- CompiledRegexRunner.cs
- DependencyObject.cs
- TreeViewDesigner.cs
- SchemaImporterExtensionElement.cs
- HttpInputStream.cs
- TreeBuilder.cs
- HtmlHistory.cs
- ExpressionConverter.cs
- CustomAttribute.cs
- BrushConverter.cs
- WorkflowServiceBuildProvider.cs