Class PairedNamespaceOptions
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Represents the options for the paired namespace for the service bus messaging.
public abstract class PairedNamespaceOptions
- Inheritance
-
PairedNamespaceOptions
- Derived
- Inherited Members
Constructors
PairedNamespaceOptions(NamespaceManager, MessagingFactory)
Initializes a new instance of the PairedNamespaceOptions class.
protected PairedNamespaceOptions(NamespaceManager secondaryNamespaceManager, MessagingFactory secondaryMessagingFactory)
Parameters
secondaryNamespaceManager
NamespaceManagerThe secondary namespace manager.
secondaryMessagingFactory
MessagingFactoryThe secondary messaging factory associated with the paired namespace.
PairedNamespaceOptions(NamespaceManager, MessagingFactory, TimeSpan)
Initializes a new instance of the PairedNamespaceOptions class.
protected PairedNamespaceOptions(NamespaceManager secondaryNamespaceManager, MessagingFactory secondaryMessagingFactory, TimeSpan failoverInterval)
Parameters
secondaryNamespaceManager
NamespaceManagerThe secondary namespace manager.
secondaryMessagingFactory
MessagingFactoryThe secondary messaging factory associated with the paired namespace.
failoverInterval
TimeSpanThe message TimeSpan interval failover.
Properties
FailoverInterval
Gets the message TimeSpan interval failover.
public TimeSpan FailoverInterval { get; }
Property Value
SecondaryMessagingFactory
Gets the secondary messaging factory associated with the paired namespace.
public MessagingFactory SecondaryMessagingFactory { get; }
Property Value
- MessagingFactory
The secondary messaging factory associated with the paired namespace.
SecondaryNamespaceManager
Gets the object that manages entities, such as queues, topics, subscriptions and rules in the paired namespace.
public NamespaceManager SecondaryNamespaceManager { get; }
Property Value
- NamespaceManager
The object that manages entities, such as queues, topics, subscriptions and rules in the paired namespace.
Methods
ClearPairing()
Dissolves the pairing of the paired namespace.
protected virtual void ClearPairing()
OnNotifyPrimarySendResult(string, bool)
Notifies the primary messaging on sending the result.
protected abstract void OnNotifyPrimarySendResult(string path, bool success)