你当前正在访问 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.ITopic>, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithAuthorizationRule, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithDefaultMessageTTL, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithDeleteOnIdle, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithDuplicateMessageDetection, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithExpressMessage, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithMessageBatching, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithSize, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IWithSubscription
type IUpdate = interface
    interface IAppliable<ITopic>
    interface IIndexable
    interface IWithSize
    interface IWithDeleteOnIdle
    interface IWithDefaultMessageTTL
    interface IWithExpressMessage
    interface IWithMessageBatching
    interface IWithDuplicateMessageDetection
    interface IWithSubscription
    interface IWithAuthorizationRule
Public Interface IUpdate
Implements IAppliable(Of ITopic), IWithAuthorizationRule, IWithDefaultMessageTTL, IWithDeleteOnIdle, IWithDuplicateMessageDetection, IWithExpressMessage, IWithMessageBatching, IWithSize, IWithSubscription
实现

属性

Key

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

(继承自 IIndexable)

方法

Apply()

执行更新请求。

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

异步执行更新请求。

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

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

(继承自 IWithDefaultMessageTTL)
WithDeleteOnIdleDurationInMinutes(Int32)

自动删除主题的空闲间隔。

(继承自 IWithDeleteOnIdle)
WithDuplicateMessageDetectionHistoryDuration(TimeSpan)

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

(继承自 IWithDuplicateMessageDetection)
WithExpressMessage()

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

(继承自 IWithExpressMessage)
WithMessageBatching()

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

(继承自 IWithMessageBatching)
WithNewListenRule(String)

为主题创建侦听授权规则。

(继承自 IWithAuthorizationRule)
WithNewManageRule(String)

为主题创建管理授权规则。

(继承自 IWithAuthorizationRule)
WithNewSendRule(String)

为主题创建发送授权规则。

(继承自 IWithAuthorizationRule)
WithNewSubscription(String)

为服务总线主题创建订阅实体。

(继承自 IWithSubscription)
WithoutAuthorizationRule(String)

删除主题的授权规则。

(继承自 IWithAuthorizationRule)
WithoutDuplicateMessageDetection()

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

(继承自 IWithDuplicateMessageDetection)
WithoutExpressMessage()

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

(继承自 IWithExpressMessage)
WithoutMessageBatching()

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

(继承自 IWithMessageBatching)
WithoutSubscription(String)

删除与服务总线主题关联的订阅实体。

(继承自 IWithSubscription)
WithSizeInMB(Int64)

指定为主题分配的最大内存大小。

(继承自 IWithSize)

适用于