< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Azure.Messaging.ServiceBus\src\Management\QueueRuntimeProperties.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    /// Represents the runtime properties of the queue.
 10    /// </summary>
 11    public class QueueRuntimeProperties
 12    {
 013        internal QueueRuntimeProperties(string name)
 14        {
 015            Name = name;
 016        }
 17
 18        /// <summary>
 19        /// The name of the queue.
 20        /// </summary>
 021        public string Name { get; internal set; }
 22
 23        /// <summary>
 24        /// The total number of messages in the queue.
 25        /// </summary>
 026        public long TotalMessageCount { get; internal set; }
 27
 28        /// <summary>
 29        /// The number of active messages in the entity.
 30        /// </summary>
 031        public long ActiveMessageCount { get; internal set; }
 32
 33        /// <summary>
 34        /// The number of dead-lettered messages in the entity.
 35        /// </summary>
 036        public long DeadLetterMessageCount { get; internal set; }
 37
 38        /// <summary>
 39        /// The number of messages that are scheduled to be enqueued.
 40        /// </summary>
 041        public long ScheduledMessageCount { get; internal set; }
 42
 43        /// <summary>
 44        /// The number of messages which are yet to be transferred/forwarded to destination entity.
 45        /// </summary>
 046        public long TransferMessageCount { get; internal set; }
 47
 48        /// <summary>
 49        /// The number of messages transfer-messages which are dead-lettered into transfer-dead-letter sub-queue.
 50        /// </summary>
 051        public long TransferDeadLetterMessageCount { get; internal set; }
 52
 53        /// <summary>
 54        /// The current size of the entity in bytes.
 55        /// </summary>
 056        public long SizeInBytes { get; internal set; }
 57
 58        /// <summary>
 59        /// The <see cref="DateTimeOffset"/> when the entity was created.
 60        /// </summary>
 061        public DateTimeOffset CreatedAt { get; internal set; }
 62
 63        /// <summary>
 64        /// The <see cref="DateTimeOffset"/> when the entity description was last updated.
 65        /// </summary>
 066        public DateTimeOffset UpdatedAt { get; internal set; }
 67
 68        /// <summary>
 69        /// The <see cref="DateTimeOffset"/> when the entity was last accessed.
 70        /// </summary>
 071        public DateTimeOffset AccessedAt { get; internal set; }
 72    }
 73}