SALES: 1-800-867-1380

NamespaceManager Constructor (String, NamespaceManagerSettings)

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

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public NamespaceManager(
	string address,
	NamespaceManagerSettings settings
)

Parameters

address
Type: System.String
The full address of the service namespace.
settings
Type: Microsoft.ServiceBus.NamespaceManagerSettings
A NamespaceManagerSettings object, which contains the Credential() and OperationTimeout properties.

ExceptionCondition
ArgumentException

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

ArgumentNullException

address or settings is null.

Although you cannot include paths in the service namespace address, you can specify a credential that authorizes you to perform actions only on some sublevels of the base address. For example, it is not necessary that the credentials you specify be to the base address itself.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft