< Summary

Class:Azure.Messaging.ServiceBus.Management.SubscriptionRuntimeProperties
Assembly:Azure.Messaging.ServiceBus
File(s):C:\Git\azure-sdk-for-net\sdk\servicebus\Azure.Messaging.ServiceBus\src\Management\SubscriptionRuntimeProperties.cs
Covered lines:0
Uncovered lines:14
Coverable lines:14
Total lines:69
Line coverage:0% (0 of 14)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%100%
get_TopicName()-0%100%
get_SubscriptionName()-0%100%
get_TotalMessageCount()-0%100%
get_ActiveMessageCount()-0%100%
get_DeadLetterMessageCount()-0%100%
get_TransferMessageCount()-0%100%
get_TransferDeadLetterMessageCount()-0%100%
get_AccessedAt()-0%100%
get_CreatedAt()-0%100%
get_UpdatedAt()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Azure.Messaging.ServiceBus\src\Management\SubscriptionRuntimeProperties.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5
 6namespace Azure.Messaging.ServiceBus.Management
 7{
 8    /// <summary>
 9    /// This provides runtime properties of the subscription.
 10    /// </summary>
 11    public class SubscriptionRuntimeProperties
 12    {
 013        internal SubscriptionRuntimeProperties(string topicName, string subscriptionName)
 14        {
 015            TopicName = topicName;
 016            SubscriptionName = subscriptionName;
 017        }
 18
 19        /// <summary>
 20        /// The name of the topic.
 21        /// </summary>
 022        public string TopicName { get; internal set; }
 23
 24        /// <summary>
 25        /// The name of subscription.
 26        /// </summary>
 027        public string SubscriptionName { get; internal set; }
 28
 29        /// <summary>
 30        /// The total number of messages in the subscription.
 31        /// </summary>
 032        public long TotalMessageCount { get; internal set; }
 33
 34        /// <summary>
 35        /// The number of active messages in the entity.
 36        /// </summary>
 037        public long ActiveMessageCount { get; internal set; }
 38
 39        /// <summary>
 40        /// The number of dead-lettered messages in the entity.
 41        /// </summary>
 042        public long DeadLetterMessageCount { get; internal set; }
 43
 44        /// <summary>
 45        /// The number of messages which are yet to be transferred/forwarded to destination entity.
 46        /// </summary>
 047        public long TransferMessageCount { get; internal set; }
 48
 49        /// <summary>
 50        /// The number of messages transfer-messages which are dead-lettered into transfer-dead-letter sub-queue.
 51        /// </summary>
 052        public long TransferDeadLetterMessageCount { get; internal set; }
 53
 54        /// <summary>
 55        /// The <see cref="DateTimeOffset"/> when the entity was last accessed.
 56        /// </summary>
 057        public DateTimeOffset AccessedAt { get; internal set; }
 58
 59        /// <summary>
 60        /// The <see cref="DateTimeOffset"/> when the entity was created.
 61        /// </summary>
 062        public DateTimeOffset CreatedAt { get; internal set; }
 63
 64        /// <summary>
 65        /// The <see cref="DateTime"/> when the entity description was last updated.
 66        /// </summary>
 067        public DateTimeOffset UpdatedAt { get; internal set; }
 68    }
 69}