Share via


ArmServiceBusModelFactory.MessageCountDetails Method

Definition

Initializes a new instance of MessageCountDetails.

public static Azure.ResourceManager.ServiceBus.Models.MessageCountDetails MessageCountDetails (long? activeMessageCount = default, long? deadLetterMessageCount = default, long? scheduledMessageCount = default, long? transferMessageCount = default, long? transferDeadLetterMessageCount = default);
static member MessageCountDetails : Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.ServiceBus.Models.MessageCountDetails
Public Shared Function MessageCountDetails (Optional activeMessageCount As Nullable(Of Long) = Nothing, Optional deadLetterMessageCount As Nullable(Of Long) = Nothing, Optional scheduledMessageCount As Nullable(Of Long) = Nothing, Optional transferMessageCount As Nullable(Of Long) = Nothing, Optional transferDeadLetterMessageCount As Nullable(Of Long) = Nothing) As MessageCountDetails

Parameters

activeMessageCount
Nullable<Int64>

Number of active messages in the queue, topic, or subscription.

deadLetterMessageCount
Nullable<Int64>

Number of messages that are dead lettered.

scheduledMessageCount
Nullable<Int64>

Number of scheduled messages.

transferMessageCount
Nullable<Int64>

Number of messages transferred to another queue, topic, or subscription.

transferDeadLetterMessageCount
Nullable<Int64>

Number of messages transferred into dead letters.

Returns

A new MessageCountDetails instance for mocking.

Applies to