Table of Contents

Class ServiceBusEnvironment

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

Describes the Windows Azure Service Bus environment.

public static class ServiceBusEnvironment
Inheritance
ServiceBusEnvironment
Inherited Members

Properties

DefaultIdentityHostName

Gets the default host name for the Windows Azure Access Control Service.

public static string DefaultIdentityHostName { get; }

Property Value

string

Returns the default identity host name.

SystemConnectivity

Gets the singleton ConnectivitySettings instance that holds the connectivity settings for TCP and HTTP-based endpoints.

public static ConnectivitySettings SystemConnectivity { get; }

Property Value

ConnectivitySettings

Returns a ConnectivitySettings that contains the connectivity settings.

Methods

CreateAccessControlUri(string)

Creates a URI string to use with access control for the specified .

public static Uri CreateAccessControlUri(string serviceNamespace)

Parameters

serviceNamespace string

The to create the URI for.

Returns

Uri

Returns a System.Uri that contains the specified URI.

CreateServiceUri(string, string, string)

Constructs the Windows Azure Service Bus URI for an application, using the specified scheme, name, and service path.

public static Uri CreateServiceUri(string scheme, string serviceNamespace, string servicePath)

Parameters

scheme string

The scheme of the URI.

serviceNamespace string

The name used by the application.

servicePath string

The service path that follows the host name section of the URI.

Returns

Uri

Returns a System.Uri that contains the new URI.

CreateServiceUri(string, string, string, bool)

Constructs the Windows Azure Service Bus URI for an application, using the specified scheme, name, service path, and relayed path prefix.

public static Uri CreateServiceUri(string scheme, string serviceNamespace, string servicePath, bool suppressRelayPathPrefix)

Parameters

scheme string

The scheme of the URI.

serviceNamespace string

The name used by the application.

servicePath string

The service path that follows the host name section of the URI.

suppressRelayPathPrefix bool

True if the relay path prefix is suppressed; otherwise, false.

Returns

Uri

Returns a System.Uri that contains the new URI.