forked from microsoft/referencesource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MsmqIntegrationProcessProtocolHandler.cs
29 lines (25 loc) · 1.12 KB
/
MsmqIntegrationProcessProtocolHandler.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//----------------------------------------------------------------------------
// 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));
}
}
}