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
- ConcurrentQueue.cs
- ElementAction.cs
- CompiledXpathExpr.cs
- ListSortDescription.cs
- RangeValuePattern.cs
- CommunicationObjectAbortedException.cs
- DBCommand.cs
- WebReferencesBuildProvider.cs
- AdCreatedEventArgs.cs
- XmlSchemaImporter.cs
- MenuItem.cs
- Annotation.cs
- WebPartMinimizeVerb.cs
- SortDescriptionCollection.cs
- CheckableControlBaseAdapter.cs
- WebPartTracker.cs
- Directory.cs
- GraphicsContainer.cs
- Schedule.cs
- CheckBoxRenderer.cs
- CollectionBuilder.cs
- TriggerCollection.cs
- FieldCollectionEditor.cs
- Roles.cs
- ValueUtilsSmi.cs
- Region.cs
- MembershipSection.cs
- FlowDocumentFormatter.cs
- TraceUtils.cs
- CharacterString.cs
- OleDbStruct.cs
- PaperSource.cs
- CharKeyFrameCollection.cs
- DrawingServices.cs
- DataRecordInfo.cs
- PageAsyncTask.cs
- IssuanceLicense.cs
- ChameleonKey.cs
- PropertyRef.cs
- SecurityUtils.cs
- ByteRangeDownloader.cs
- mediaeventargs.cs
- DesignerHost.cs
- WebPartUserCapability.cs
- TagPrefixAttribute.cs
- FileDialogCustomPlace.cs
- OracleBinary.cs
- CustomAttributeBuilder.cs
- x509store.cs
- XmlQueryContext.cs
- ProfilePropertyNameValidator.cs
- ToolBar.cs
- Tablet.cs
- FieldNameLookup.cs
- AccessibilityHelperForXpWin2k3.cs
- SetterBase.cs
- EventWaitHandleSecurity.cs
- Effect.cs
- MatrixIndependentAnimationStorage.cs
- XmlSerializerNamespaces.cs
- MenuItemBinding.cs
- FocusManager.cs
- TextEditorCopyPaste.cs
- ListView.cs
- IndependentlyAnimatedPropertyMetadata.cs
- TextEditorThreadLocalStore.cs
- ErrorFormatterPage.cs
- SystemColors.cs
- PriorityItem.cs
- SecureStringHasher.cs
- ProvideValueServiceProvider.cs
- ItemMap.cs
- SHA1Managed.cs
- WindowsTab.cs
- TakeOrSkipQueryOperator.cs
- BoolExpression.cs
- SqlDependency.cs
- DataProviderNameConverter.cs
- CatalogZoneBase.cs
- MetadataItemEmitter.cs
- RootProfilePropertySettingsCollection.cs
- SqlDataSourceView.cs
- DataGridViewTopLeftHeaderCell.cs
- StoragePropertyMapping.cs
- DocumentPageHost.cs
- ContourSegment.cs
- ConvertEvent.cs
- NotifyParentPropertyAttribute.cs
- Keyboard.cs
- MetaForeignKeyColumn.cs
- ListViewUpdateEventArgs.cs
- ExpressionBindings.cs
- OracleCommandSet.cs
- LicenseContext.cs
- FlowLayoutSettings.cs
- MembershipPasswordException.cs
- TextRangeProviderWrapper.cs
- ServiceSettingsResponseInfo.cs
- CodeRegionDirective.cs
- StringFunctions.cs