< Summary

Class:Microsoft.Azure.ServiceBus.ServiceBusCommunicationException
Assembly:Microsoft.Azure.ServiceBus
File(s):C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\ServiceBusCommunicationException.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:23
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%
.ctor(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\ServiceBusCommunicationException.cs

#LineLine coverage
 1// Copyright (c) Microsoft. All rights reserved.
 2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 3
 4namespace Microsoft.Azure.ServiceBus
 5{
 6    using System;
 7
 8    /// <summary>
 9    /// Exception for signaling general communication errors related to messaging operations.
 10    /// </summary>
 11    public class ServiceBusCommunicationException : ServiceBusException
 12    {
 13        public ServiceBusCommunicationException(string message)
 214            : this(message, null)
 15        {
 216        }
 17
 18        public ServiceBusCommunicationException(string message, Exception innerException)
 219            : base(true, message, innerException)
 20        {
 221        }
 22    }
 23}

Methods/Properties

.ctor(...)
.ctor(...)