Files
linux-packaging-mono/external/referencesource/System.ServiceModel.WasHosting/System/ServiceModel/WasHosting/MsmqIntegrationProcessProtocolHandler.cs
Xamarin Public Jenkins (auto-signing) fad71374d0 Imported Upstream version 5.2.0.179
Former-commit-id: a536d4f20e27294d8bbc2184d75f3a22364f7ba1
2017-06-16 11:04:32 +00:00

30 lines
1.1 KiB
C#

//----------------------------------------------------------------------------
// 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));
}
}
}