Table of Contents

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 NamespaceManager

The secondary namespace manager.

secondaryMessagingFactory MessagingFactory

The 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 NamespaceManager

The secondary namespace manager.

secondaryMessagingFactory MessagingFactory

The secondary messaging factory associated with the paired namespace.

failoverInterval TimeSpan

The message TimeSpan interval failover.

Properties

FailoverInterval

Gets the message TimeSpan interval failover.

public TimeSpan FailoverInterval { get; }

Property Value

TimeSpan

The message TimeSpan interval failover.

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)

Parameters

path string

The string of the path.

success bool

true if the results successfully send; otherwise, false.