Compartilhar via


ServiceBusModelFactory.QueueProperties Método

Definição

Cria uma nova QueueProperties instância para simulação.

public static Azure.Messaging.ServiceBus.Administration.QueueProperties QueueProperties (string name, TimeSpan lockDuration, long maxSizeInMegabytes, bool requiresDuplicateDetection, bool requiresSession, TimeSpan defaultMessageTimeToLive, TimeSpan autoDeleteOnIdle, bool deadLetteringOnMessageExpiration, TimeSpan duplicateDetectionHistoryTimeWindow, int maxDeliveryCount, bool enableBatchedOperations, Azure.Messaging.ServiceBus.Administration.EntityStatus status, string forwardTo, string forwardDeadLetteredMessagesTo, string userMetadata, bool enablePartitioning);
static member QueueProperties : string * TimeSpan * int64 * bool * bool * TimeSpan * TimeSpan * bool * TimeSpan * int * bool * Azure.Messaging.ServiceBus.Administration.EntityStatus * string * string * string * bool -> Azure.Messaging.ServiceBus.Administration.QueueProperties
Public Shared Function QueueProperties (name As String, lockDuration As TimeSpan, maxSizeInMegabytes As Long, requiresDuplicateDetection As Boolean, requiresSession As Boolean, defaultMessageTimeToLive As TimeSpan, autoDeleteOnIdle As TimeSpan, deadLetteringOnMessageExpiration As Boolean, duplicateDetectionHistoryTimeWindow As TimeSpan, maxDeliveryCount As Integer, enableBatchedOperations As Boolean, status As EntityStatus, forwardTo As String, forwardDeadLetteredMessagesTo As String, userMetadata As String, enablePartitioning As Boolean) As QueueProperties

Parâmetros

name
String
lockDuration
TimeSpan
maxSizeInMegabytes
Int64
requiresDuplicateDetection
Boolean
requiresSession
Boolean
defaultMessageTimeToLive
TimeSpan
autoDeleteOnIdle
TimeSpan
deadLetteringOnMessageExpiration
Boolean
duplicateDetectionHistoryTimeWindow
TimeSpan
maxDeliveryCount
Int32
enableBatchedOperations
Boolean
status
EntityStatus
forwardTo
String
forwardDeadLetteredMessagesTo
String
userMetadata
String
enablePartitioning
Boolean

Retornos

Aplica-se a