Share via


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

IUpdate 接口

定义

服务总线队列更新操作的模板,包含可修改的所有设置。

public interface IUpdate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.ServiceBus.Fluent.IQueue>, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithAuthorizationRule, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithDefaultMessageTTL, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithDeleteOnIdle, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithDuplicateMessageDetection, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithExpiredMessageMovedToDeadLetterQueue, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithExpressMessage, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithMessageBatching, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithMessageLockDuration, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithSession, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Update.IWithSize
type IUpdate = interface
    interface IAppliable<IQueue>
    interface IIndexable
    interface IWithSize
    interface IWithDeleteOnIdle
    interface IWithMessageLockDuration
    interface IWithDefaultMessageTTL
    interface IWithSession
    interface IWithExpressMessage
    interface IWithMessageBatching
    interface IWithDuplicateMessageDetection
    interface IWithExpiredMessageMovedToDeadLetterQueue
    interface IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount
    interface IWithAuthorizationRule
Public Interface IUpdate
Implements IAppliable(Of IQueue), IWithAuthorizationRule, IWithDefaultMessageTTL, IWithDeleteOnIdle, IWithDuplicateMessageDetection, IWithExpiredMessageMovedToDeadLetterQueue, IWithExpressMessage, IWithMessageBatching, IWithMessageLockDuration, IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount, IWithSession, IWithSize
实现

属性

Key

服务总线队列更新操作的模板,包含可修改的所有设置。

(继承自 IIndexable)

方法

Apply()

执行更新请求。

(继承自 IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

异步执行更新请求。

(继承自 IAppliable<T>)
WithDefaultMessageTTL(TimeSpan)

指定消息过期的持续时间。

(继承自 IWithDefaultMessageTTL)
WithDeleteOnIdleDurationInMinutes(Int32)

自动删除队列的空闲间隔。

(继承自 IWithDeleteOnIdle)
WithDuplicateMessageDetectionHistoryDuration(TimeSpan)

指定重复消息检测历史记录的持续时间。

(继承自 IWithDuplicateMessageDetection)
WithExpiredMessageMovedToDeadLetterQueue()

指定必须将过期消息移动到死信队列。

(继承自 IWithExpiredMessageMovedToDeadLetterQueue)
WithExpressMessage()

指定此队列中的消息是快速的,因此可以在内存中缓存一段时间,然后再将其存储在消息存储中。

(继承自 IWithExpressMessage)
WithMessageBatching()

指定服务总线在将消息写入内部存储区或删除消息时可以批处理多个消息。 这会增加吞吐量。

(继承自 IWithMessageBatching)
WithMessageLockDurationInSeconds(Int32)

指定消息锁定给其他接收方的时间量。

(继承自 IWithMessageLockDuration)
WithMessageMovedToDeadLetterQueueOnMaxDeliveryCount(Int32)

指定可以传递消息的最大次数。 超过此计数后,消息将移动到死信队列。

(继承自 IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount)
WithNewListenRule(String)

为队列创建侦听授权规则。

(继承自 IWithAuthorizationRule)
WithNewManageRule(String)

为队列创建管理授权规则。

(继承自 IWithAuthorizationRule)
WithNewSendRule(String)

为队列创建发送授权规则。

(继承自 IWithAuthorizationRule)
WithoutAuthorizationRule(String)

删除队列的授权规则。

(继承自 IWithAuthorizationRule)
WithoutDuplicateMessageDetection()

指定需要禁用重复消息检测。

(继承自 IWithDuplicateMessageDetection)
WithoutExpiredMessageMovedToDeadLetterQueue()

指定过期的消息不应移动到死信队列。

(继承自 IWithExpiredMessageMovedToDeadLetterQueue)
WithoutExpressMessage()

指定此队列中的消息不是快速消息,因此应将其缓存在内存中。

(继承自 IWithExpressMessage)
WithoutMessageBatching()

指定在服务总线将消息写入或从其内部存储中删除消息时,应禁用消息批处理。

(继承自 IWithMessageBatching)
WithoutSession()

指定应禁用队列的会话支持。

(继承自 IWithSession)
WithSession()

指定应为队列启用会话支持。

(继承自 IWithSession)
WithSizeInMB(Int64)

指定为队列分配的最大内存大小。

(继承自 IWithSize)

适用于