你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusModelFactory.SubscriptionRuntimeProperties 方法

定义

public static Azure.Messaging.ServiceBus.Administration.SubscriptionRuntimeProperties SubscriptionRuntimeProperties (string topicName, string subscriptionName, long activeMessageCount = 0, long deadLetterMessageCount = 0, long transferDeadLetterMessageCount = 0, long transferMessageCount = 0, long totalMessageCount = 0, DateTimeOffset createdAt = default, DateTimeOffset updatedAt = default, DateTimeOffset accessedAt = default);
static member SubscriptionRuntimeProperties : string * string * int64 * int64 * int64 * int64 * int64 * DateTimeOffset * DateTimeOffset * DateTimeOffset -> Azure.Messaging.ServiceBus.Administration.SubscriptionRuntimeProperties
Public Shared Function SubscriptionRuntimeProperties (topicName As String, subscriptionName As String, Optional activeMessageCount As Long = 0, Optional deadLetterMessageCount As Long = 0, Optional transferDeadLetterMessageCount As Long = 0, Optional transferMessageCount As Long = 0, Optional totalMessageCount As Long = 0, Optional createdAt As DateTimeOffset = Nothing, Optional updatedAt As DateTimeOffset = Nothing, Optional accessedAt As DateTimeOffset = Nothing) As SubscriptionRuntimeProperties

参数

topicName
String
subscriptionName
String
activeMessageCount
Int64
deadLetterMessageCount
Int64
transferDeadLetterMessageCount
Int64
transferMessageCount
Int64
totalMessageCount
Int64
createdAt
DateTimeOffset
updatedAt
DateTimeOffset
accessedAt
DateTimeOffset

返回

适用于