Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / WasHosting / System / ServiceModel / WasHosting / MsmqProcessProtocolHandler.cs / 1305376 / MsmqProcessProtocolHandler.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 MsmqProcessProtocolHandler : BaseProcessProtocolHandler { public MsmqProcessProtocolHandler() : base(MsmqUri.NetMsmqAddressTranslator.Scheme) { } internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex) { listenerChannelCallback.ReportStarted(); listenerChannelCallback.ReportStopped(System.Runtime.InteropServices.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 MsmqProcessProtocolHandler : BaseProcessProtocolHandler { public MsmqProcessProtocolHandler() : base(MsmqUri.NetMsmqAddressTranslator.Scheme) { } internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex) { listenerChannelCallback.ReportStarted(); listenerChannelCallback.ReportStopped(System.Runtime.InteropServices.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
- BoundColumn.cs
- ColorIndependentAnimationStorage.cs
- Listbox.cs
- TextEditorTyping.cs
- DateTimeOffsetStorage.cs
- UnsafeNativeMethods.cs
- Transform3DGroup.cs
- RemotingServices.cs
- ServiceXNameTypeConverter.cs
- ListItemCollection.cs
- XmlEventCache.cs
- CqlParser.cs
- MdImport.cs
- XmlLoader.cs
- XamlTypeWithExplicitNamespace.cs
- TypeHelper.cs
- HTMLTextWriter.cs
- SpellerStatusTable.cs
- SqlDataSourceConfigureFilterForm.cs
- DbDeleteCommandTree.cs
- SimpleWebHandlerParser.cs
- IssuedTokensHeader.cs
- TypeGeneratedEventArgs.cs
- SessionPageStatePersister.cs
- MenuCommand.cs
- BrowserDefinitionCollection.cs
- AssemblySettingAttributes.cs
- XamlInterfaces.cs
- SqlServices.cs
- OrderedDictionaryStateHelper.cs
- InvalidCommandTreeException.cs
- TextRenderer.cs
- NoResizeSelectionBorderGlyph.cs
- ServiceDescriptionImporter.cs
- HttpHandlersSection.cs
- EngineSiteSapi.cs
- ConditionCollection.cs
- SemaphoreSecurity.cs
- PointLight.cs
- Table.cs
- DateTimeFormatInfoScanner.cs
- UnauthorizedAccessException.cs
- NativeCppClassAttribute.cs
- BindingOperations.cs
- CacheSection.cs
- Header.cs
- DeclaredTypeElement.cs
- SiteMapDataSourceView.cs
- keycontainerpermission.cs
- MissingMemberException.cs
- DataGridViewRowPostPaintEventArgs.cs
- ProtocolViolationException.cs
- Rule.cs
- PostBackOptions.cs
- TableFieldsEditor.cs
- SharedPerformanceCounter.cs
- sqlnorm.cs
- SecurityTokenRequirement.cs
- _OSSOCK.cs
- ITreeGenerator.cs
- Overlapped.cs
- formatter.cs
- RegexMatchCollection.cs
- ChannelSinkStacks.cs
- DeleteWorkflowOwnerCommand.cs
- EntityClassGenerator.cs
- ThreadInterruptedException.cs
- safex509handles.cs
- PerformanceCountersElement.cs
- SQLDecimal.cs
- ConfigPathUtility.cs
- Line.cs
- CheckBoxField.cs
- ContentDisposition.cs
- SoapProcessingBehavior.cs
- XamlParser.cs
- TypeSystem.cs
- XmlHierarchicalEnumerable.cs
- ForeignKeyConstraint.cs
- AbstractSvcMapFileLoader.cs
- ACE.cs
- FileDialogPermission.cs
- DeadCharTextComposition.cs
- OwnerDrawPropertyBag.cs
- CommandHelpers.cs
- TextDocumentView.cs
- EncryptedXml.cs
- ComboBox.cs
- Properties.cs
- Transform3DCollection.cs
- ContainerParagraph.cs
- ErrorHandler.cs
- DocumentsTrace.cs
- RuntimeVariableList.cs
- ParseNumbers.cs
- ImportCatalogPart.cs
- QueryInterceptorAttribute.cs
- SessionState.cs
- DocumentPage.cs
- WindowsNonControl.cs