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

PairedNamespaceOptions 构造函数

定义

重载

PairedNamespaceOptions(NamespaceManager, MessagingFactory)

初始化 PairedNamespaceOptions 类的新实例。

PairedNamespaceOptions(NamespaceManager, MessagingFactory, TimeSpan)

初始化 PairedNamespaceOptions 类的新实例。

PairedNamespaceOptions(NamespaceManager, MessagingFactory)

初始化 PairedNamespaceOptions 类的新实例。

protected PairedNamespaceOptions (Microsoft.ServiceBus.NamespaceManager secondaryNamespaceManager, Microsoft.ServiceBus.Messaging.MessagingFactory secondaryMessagingFactory);
new Microsoft.ServiceBus.Messaging.PairedNamespaceOptions : Microsoft.ServiceBus.NamespaceManager * Microsoft.ServiceBus.Messaging.MessagingFactory -> Microsoft.ServiceBus.Messaging.PairedNamespaceOptions
Protected Sub New (secondaryNamespaceManager As NamespaceManager, secondaryMessagingFactory As MessagingFactory)

参数

secondaryNamespaceManager
NamespaceManager

辅助命名空间管理器。

secondaryMessagingFactory
MessagingFactory

与配对命名空间关联的辅助消息工厂。

适用于

PairedNamespaceOptions(NamespaceManager, MessagingFactory, TimeSpan)

初始化 PairedNamespaceOptions 类的新实例。

protected PairedNamespaceOptions (Microsoft.ServiceBus.NamespaceManager secondaryNamespaceManager, Microsoft.ServiceBus.Messaging.MessagingFactory secondaryMessagingFactory, TimeSpan failoverInterval);
new Microsoft.ServiceBus.Messaging.PairedNamespaceOptions : Microsoft.ServiceBus.NamespaceManager * Microsoft.ServiceBus.Messaging.MessagingFactory * TimeSpan -> Microsoft.ServiceBus.Messaging.PairedNamespaceOptions
Protected Sub New (secondaryNamespaceManager As NamespaceManager, secondaryMessagingFactory As MessagingFactory, failoverInterval As TimeSpan)

参数

secondaryNamespaceManager
NamespaceManager

辅助命名空间管理器。

secondaryMessagingFactory
MessagingFactory

与配对命名空间关联的辅助消息工厂。

failoverInterval
TimeSpan

消息 TimeSpan 间隔故障转移。

适用于