Sdílet prostřednictvím


ServiceBusModelFactory.SubscriptionProperties Metoda

Definice

Vytvoří novou SubscriptionProperties instanci pro napodobení.

public static Azure.Messaging.ServiceBus.Administration.SubscriptionProperties SubscriptionProperties (string topicName, string subscriptionName, TimeSpan lockDuration = default, bool requiresSession = false, TimeSpan defaultMessageTimeToLive = default, TimeSpan autoDeleteOnIdle = default, bool deadLetteringOnMessageExpiration = false, int maxDeliveryCount = 0, bool enableBatchedOperations = false, Azure.Messaging.ServiceBus.Administration.EntityStatus status = default, string forwardTo = default, string forwardDeadLetteredMessagesTo = default, string userMetadata = default);
static member SubscriptionProperties : string * string * TimeSpan * bool * TimeSpan * TimeSpan * bool * int * bool * Azure.Messaging.ServiceBus.Administration.EntityStatus * string * string * string -> Azure.Messaging.ServiceBus.Administration.SubscriptionProperties
Public Shared Function SubscriptionProperties (topicName As String, subscriptionName As String, Optional lockDuration As TimeSpan = Nothing, Optional requiresSession As Boolean = false, Optional defaultMessageTimeToLive As TimeSpan = Nothing, Optional autoDeleteOnIdle As TimeSpan = Nothing, Optional deadLetteringOnMessageExpiration As Boolean = false, Optional maxDeliveryCount As Integer = 0, Optional enableBatchedOperations As Boolean = false, Optional status As EntityStatus = Nothing, Optional forwardTo As String = Nothing, Optional forwardDeadLetteredMessagesTo As String = Nothing, Optional userMetadata As String = Nothing) As SubscriptionProperties

Parametry

topicName
String
subscriptionName
String
lockDuration
TimeSpan
requiresSession
Boolean
defaultMessageTimeToLive
TimeSpan
autoDeleteOnIdle
TimeSpan
deadLetteringOnMessageExpiration
Boolean
maxDeliveryCount
Int32
enableBatchedOperations
Boolean
status
EntityStatus
forwardTo
String
forwardDeadLetteredMessagesTo
String
userMetadata
String

Návraty

Platí pro