< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Channels.MsmqPoisonMessageException
Assembly: CoreWCF.MSMQ
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.MSMQ/src/CoreWCF/Channels/MsmqPoisonMessageException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 18
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.MSMQ/src/CoreWCF/Channels/MsmqPoisonMessageException.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System;
 5
 6namespace CoreWCF.Channels
 7{
 8    public class MsmqPoisonMessageException : CommunicationException
 9    {
 010        public long MessageLookupId { get; }
 11
 12        public MsmqPoisonMessageException(long messageLookupId, Exception innerException)
 013            : base(SR.MsmqPoisonMessage, innerException)
 14        {
 015            MessageLookupId = messageLookupId;
 016        }
 17    }
 18}