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);
Parameters
addresses
IEnumerable<String>

The full addresses of the service namespace.

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);
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.

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);
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.

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);
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.

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);
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.

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);
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.

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);
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.

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);
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.

NamespaceManager(Uri)

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

public NamespaceManager (Uri address);
Parameters
address
Uri

The full URI address of the service namespace.

NamespaceManager(String)

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

public NamespaceManager (string address);
Parameters
address
String

The full address of the service namespace.

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);
Parameters
addresses
IEnumerable<Uri>

The full URI addresses of the service namespace.

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);
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