NamespaceManager Constructors

Definition

Overloads

NamespaceManager(IEnumerable<String>)

Initializes a new instance of the NamespaceManager class with the given addresses.

NamespaceManager(Uri, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base address and TokenProvider object.

NamespaceManager(Uri, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base address and NamespaceManagerSettings object.

NamespaceManager(String, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given service namespace base address and token provider.

NamespaceManager(IEnumerable<Uri>, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base addresses and token provider.

NamespaceManager(IEnumerable<Uri>, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base addresses and settings.

NamespaceManager(String, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given service namespace base address and NamespaceManagerSettings object.

NamespaceManager(IEnumerable<String>, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given addresses and settings.

NamespaceManager(Uri)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base address.

NamespaceManager(String)

Initializes a new instance of the NamespaceManager class with the given service namespace address.

NamespaceManager(IEnumerable<Uri>)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base addresses.

NamespaceManager(IEnumerable<String>, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given addresses and token provider.

NamespaceManager(IEnumerable<String>)

Initializes a new instance of the NamespaceManager class with the given addresses.

public NamespaceManager (System.Collections.Generic.IEnumerable<string> addresses);
new Microsoft.ServiceBus.NamespaceManager : seq<string> -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (addresses As IEnumerable(Of String))

Parameters

addresses
IEnumerable<String>

The full addresses of the service namespace.

Applies to

NamespaceManager(Uri, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base address and TokenProvider object.

public NamespaceManager (Uri address, Microsoft.ServiceBus.TokenProvider tokenProvider);
new Microsoft.ServiceBus.NamespaceManager : Uri * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (address As Uri, tokenProvider As TokenProvider)

Parameters

address
Uri

The full URI address of the service namespace.

tokenProvider
TokenProvider

The security token provider object.

Exceptions

address contains a path appended to the full address of the service namespace.

address or tokenProvider is null.

Remarks

Even though it is not allowed to include paths in the namespace address, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base address, i.e. it is not a must that the credentials you specify be to the base adress itself.

Applies to

NamespaceManager(Uri, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base address and NamespaceManagerSettings object.

public NamespaceManager (Uri address, Microsoft.ServiceBus.NamespaceManagerSettings settings);
new Microsoft.ServiceBus.NamespaceManager : Uri * Microsoft.ServiceBus.NamespaceManagerSettings -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (address As Uri, settings As NamespaceManagerSettings)

Parameters

address
Uri

The full URI address of the service namespace.

settings
NamespaceManagerSettings

A NamespaceManagerSettings object, which contains the TokenProvider and OperationTimeout properties.

Exceptions

address contains a path appended to the full address of the service namespace.

address or settings is null.

Remarks

Even though it is not allowed to include paths in the namespace address, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base address, i.e. it is not a must that the credentials you specify be to the base adress itself.

Applies to

NamespaceManager(String, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given service namespace base address and token provider.

public NamespaceManager (string address, Microsoft.ServiceBus.TokenProvider tokenProvider);
new Microsoft.ServiceBus.NamespaceManager : string * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (address As String, tokenProvider As TokenProvider)

Parameters

address
String

The full address of the service namespace.

tokenProvider
TokenProvider

The security token provider.

Exceptions

address contains a path appended to the full address of the service namespace.

address or tokenProvider is null.

Remarks

Even though it is not allowed to include paths in the namespace address, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base address.

Applies to

NamespaceManager(IEnumerable<Uri>, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base addresses and token provider.

public NamespaceManager (System.Collections.Generic.IEnumerable<Uri> addresses, Microsoft.ServiceBus.TokenProvider tokenProvider);
new Microsoft.ServiceBus.NamespaceManager : seq<Uri> * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (addresses As IEnumerable(Of Uri), tokenProvider As TokenProvider)

Parameters

addresses
IEnumerable<Uri>

The full URI addresses of the service namespace.

tokenProvider
TokenProvider

The security token provider.

Remarks

Even though it is not allowed to include paths in the namespace addresses, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base addresses, i.e. it is not a must that the credentials you specify be to the base adresses itself.

Applies to

NamespaceManager(IEnumerable<Uri>, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base addresses and settings.

public NamespaceManager (System.Collections.Generic.IEnumerable<Uri> addresses, Microsoft.ServiceBus.NamespaceManagerSettings settings);
new Microsoft.ServiceBus.NamespaceManager : seq<Uri> * Microsoft.ServiceBus.NamespaceManagerSettings -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (addresses As IEnumerable(Of Uri), settings As NamespaceManagerSettings)

Parameters

addresses
IEnumerable<Uri>

The full URI addresses of the service namespace.

settings
NamespaceManagerSettings

A NamespaceManagerSettings object, which contains the TokenProvider and OperationTimeout properties.

Remarks

Even though it is not allowed to include paths in the namespace addresses, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base addresses, i.e. it is not a must that the credentials you specify be to the base adresses itself.

Applies to

NamespaceManager(String, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given service namespace base address and NamespaceManagerSettings object.

public NamespaceManager (string address, Microsoft.ServiceBus.NamespaceManagerSettings settings);
new Microsoft.ServiceBus.NamespaceManager : string * Microsoft.ServiceBus.NamespaceManagerSettings -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (address As String, settings As NamespaceManagerSettings)

Parameters

address
String

The full address of the service namespace.

settings
NamespaceManagerSettings

A NamespaceManagerSettings object, which contains the TokenProvider and OperationTimeout properties.

Exceptions

address contains a path appended to the full address of the service namespace.

address or settings is null.

Remarks

Even though it is not allowed to include paths in the namespace address, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base address, i.e. it is not a must that the credentials you specify be to the base adress itself.

Applies to

NamespaceManager(IEnumerable<String>, NamespaceManagerSettings)

Initializes a new instance of the NamespaceManager class with the given addresses and settings.

public NamespaceManager (System.Collections.Generic.IEnumerable<string> addresses, Microsoft.ServiceBus.NamespaceManagerSettings settings);
new Microsoft.ServiceBus.NamespaceManager : seq<string> * Microsoft.ServiceBus.NamespaceManagerSettings -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (addresses As IEnumerable(Of String), settings As NamespaceManagerSettings)

Parameters

addresses
IEnumerable<String>

The full addresses of the service namespace.

settings
NamespaceManagerSettings

A NamespaceManagerSettings object, which contains the TokenProvider and OperationTimeout properties.

Remarks

Even though it is not allowed to include paths in the namespace address, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base addresses, i.e. it is not a must that the credentials you specify be to the base adresses itself.

Applies to

NamespaceManager(Uri)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base address.

public NamespaceManager (Uri address);
new Microsoft.ServiceBus.NamespaceManager : Uri -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (address As Uri)

Parameters

address
Uri

The full URI address of the service namespace.

Applies to

NamespaceManager(String)

Initializes a new instance of the NamespaceManager class with the given service namespace address.

public NamespaceManager (string address);
new Microsoft.ServiceBus.NamespaceManager : string -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (address As String)

Parameters

address
String

The full address of the service namespace.

Applies to

NamespaceManager(IEnumerable<Uri>)

Initializes a new instance of the NamespaceManager class with the given service namespace URI base addresses.

public NamespaceManager (System.Collections.Generic.IEnumerable<Uri> addresses);
new Microsoft.ServiceBus.NamespaceManager : seq<Uri> -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (addresses As IEnumerable(Of Uri))

Parameters

addresses
IEnumerable<Uri>

The full URI addresses of the service namespace.

Applies to

NamespaceManager(IEnumerable<String>, TokenProvider)

Initializes a new instance of the NamespaceManager class with the given addresses and token provider.

public NamespaceManager (System.Collections.Generic.IEnumerable<string> addresses, Microsoft.ServiceBus.TokenProvider tokenProvider);
new Microsoft.ServiceBus.NamespaceManager : seq<string> * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.NamespaceManager
Public Sub New (addresses As IEnumerable(Of String), tokenProvider As TokenProvider)

Parameters

addresses
IEnumerable<String>

The full addresses of the service namespace.

tokenProvider
TokenProvider

The security token provider.

Remarks

Even though it is not allowed to include paths in the namespace addresses, you can specify a credential that authorizes you to perform actions only on some sublevels off of the base addresses.

Applies to