Share via


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

IBlank 接口

定义

订阅定义的第一阶段。

public interface IBlank : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ServiceBus.Fluent.ISubscription>, Microsoft.Azure.Management.ServiceBus.Fluent.Subscription.Definition.IWithCreate
type IBlank = interface
    interface IWithCreate
    interface ICreatable<ISubscription>
    interface IIndexable
    interface IWithDeleteOnIdle
    interface IWithMessageLockDuration
    interface IWithDefaultMessageTTL
    interface IWithSession
    interface IWithMessageBatching
    interface IWithExpiredMessageMovedToDeadLetterSubscription
    interface IWithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount
    interface IWithMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException
Public Interface IBlank
Implements ICreatable(Of ISubscription), IWithCreate
派生
实现

属性

Key

订阅定义的第一阶段。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行它。

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

指定消息过期的持续时间。 注意:除非显式重写,否则默认 ttl 为无限 (TimeSpan.Max) 。

(继承自 IWithDefaultMessageTTL)
WithDeleteOnIdleDurationInMinutes(Int32)

自动删除订阅的空闲间隔。 注意:除非显式重写,否则空闲持续时间的默认删除是无限 (TimeSpan.Max) 。

(继承自 IWithDeleteOnIdle)
WithExpiredMessageMovedToDeadLetterSubscription()

指定必须将过期消息移动到死信订阅。

(继承自 IWithExpiredMessageMovedToDeadLetterSubscription)
WithMessageLockDurationInSeconds(Int32)

指定消息锁定给其他接收方的时间量。 注意:除非显式重写它,否则默认锁定持续时间为 60 秒,允许的最大值为 300 秒。

(继承自 IWithMessageLockDuration)
WithMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException()

指定必须将筛选器评估失败消息移动到死信订阅。

(继承自 IWithMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException)
WithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount(Int32)

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

(继承自 IWithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount)
WithoutExpiredMessageMovedToDeadLetterSubscription()

指定过期的消息不应移动到死信订阅。

(继承自 IWithExpiredMessageMovedToDeadLetterSubscription)
WithoutMessageBatching()

指定应在此订阅上禁用默认批处理。 使用批处理服务总线,可以在写入或删除内部存储中的消息时批处理多个消息。

(继承自 IWithMessageBatching)
WithSession()

指定应为订阅启用会话支持。

(继承自 IWithSession)

适用于