Partilhar via


ServiceBusModelFactory.TopicProperties Método

Definição

Cria uma nova TopicProperties instância para zombar.

public static Azure.Messaging.ServiceBus.Administration.TopicProperties TopicProperties (string name, long maxSizeInMegabytes = 0, bool requiresDuplicateDetection = false, TimeSpan defaultMessageTimeToLive = default, TimeSpan autoDeleteOnIdle = default, TimeSpan duplicateDetectionHistoryTimeWindow = default, bool enableBatchedOperations = false, Azure.Messaging.ServiceBus.Administration.EntityStatus status = default, bool enablePartitioning = false, long maxMessageSizeInKilobytes = 0);
static member TopicProperties : string * int64 * bool * TimeSpan * TimeSpan * TimeSpan * bool * Azure.Messaging.ServiceBus.Administration.EntityStatus * bool * int64 -> Azure.Messaging.ServiceBus.Administration.TopicProperties
Public Shared Function TopicProperties (name As String, Optional maxSizeInMegabytes As Long = 0, Optional requiresDuplicateDetection As Boolean = false, Optional defaultMessageTimeToLive As TimeSpan = Nothing, Optional autoDeleteOnIdle As TimeSpan = Nothing, Optional duplicateDetectionHistoryTimeWindow As TimeSpan = Nothing, Optional enableBatchedOperations As Boolean = false, Optional status As EntityStatus = Nothing, Optional enablePartitioning As Boolean = false, Optional maxMessageSizeInKilobytes As Long = 0) As TopicProperties

Parâmetros

name
String
maxSizeInMegabytes
Int64
requiresDuplicateDetection
Boolean
defaultMessageTimeToLive
TimeSpan
autoDeleteOnIdle
TimeSpan
duplicateDetectionHistoryTimeWindow
TimeSpan
enableBatchedOperations
Boolean
status
EntityStatus
enablePartitioning
Boolean
maxMessageSizeInKilobytes
Int64

Retornos

Aplica-se a