PairedNamespaceOptions PairedNamespaceOptions Class

Represents the options for the paired namespace for the service bus messaging.

Syntax

Declaration

public abstract class PairedNamespaceOptionsPublic MustInherit Class PairedNamespaceOptions

Inheritance Hierarchy

  • PairedNamespaceOptions
    PairedNamespaceOptions

Constructors summary

Initializes a new instance of the PairedNamespaceOptions class.

Initializes a new instance of the PairedNamespaceOptions class.

Properties summary

Gets the message TimeSpan interval failover.

Gets the secondary messaging factory associated with the paired namespace.

Gets the object that manages entities, such as queues, topics, subscriptions and rules in the paired namespace.

Methods summary

Dissolves the pairing of the paired namespace.

Notifies the primary messaging on sending the result.

Constructors

  • PairedNamespaceOptions(NamespaceManager, MessagingFactory)
    PairedNamespaceOptions(NamespaceManager, MessagingFactory)

    Initializes a new instance of the PairedNamespaceOptions class.

    protected PairedNamespaceOptions(NamespaceManager secondaryNamespaceManager, MessagingFactory secondaryMessagingFactory)Protected Sub New(secondaryNamespaceManager As NamespaceManager, secondaryMessagingFactory As MessagingFactory)

    Parameters

  • PairedNamespaceOptions(NamespaceManager, MessagingFactory, TimeSpan)
    PairedNamespaceOptions(NamespaceManager, MessagingFactory, TimeSpan)

    Initializes a new instance of the PairedNamespaceOptions class.

    protected PairedNamespaceOptions(NamespaceManager secondaryNamespaceManager, MessagingFactory secondaryMessagingFactory, TimeSpan failoverInterval)Protected Sub New(secondaryNamespaceManager As NamespaceManager, secondaryMessagingFactory As MessagingFactory, failoverInterval As TimeSpan)

    Parameters

Properties

  • FailoverInterval
    FailoverInterval

    Gets the message TimeSpan interval failover.

    public TimeSpan FailoverInterval { get; }Public ReadOnly Property FailoverInterval As TimeSpan

    Property Value

  • SecondaryMessagingFactory
    SecondaryMessagingFactory

    Gets the secondary messaging factory associated with the paired namespace.

    public MessagingFactory SecondaryMessagingFactory { get; }Public ReadOnly Property SecondaryMessagingFactory As MessagingFactory

    Property Value

  • SecondaryNamespaceManager
    SecondaryNamespaceManager

    Gets the object that manages entities, such as queues, topics, subscriptions and rules in the paired namespace.

    public NamespaceManager SecondaryNamespaceManager { get; }Public ReadOnly Property SecondaryNamespaceManager As NamespaceManager

    Property Value

Methods

  • ClearPairing()
    ClearPairing()

    Dissolves the pairing of the paired namespace.

    protected virtual void ClearPairing()Protected Overridable Sub ClearPairing
  • OnNotifyPrimarySendResult(String, Boolean)
    OnNotifyPrimarySendResult(String, Boolean)

    Notifies the primary messaging on sending the result.

    protected abstract void OnNotifyPrimarySendResult(string path, bool success)Protected MustOverride Sub OnNotifyPrimarySendResult(path As String, success As Boolean)

    Parameters

Details

Namespace

Microsoft.ServiceBus.Messaging

Assembly

Microsoft.ServiceBus.dll