Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BasicHttpRelayBinding Constructor (EndToEndBasicHttpSecurityMode, RelayClientAuthenticationType)

Initializes a new instance of the BasicHttpRelayBinding class with a specified type of security used by the binding and the authentication type used by the client.

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

public BasicHttpRelayBinding(
	EndToEndBasicHttpSecurityMode securityMode,
	RelayClientAuthenticationType relayClientAuthenticationType


Type: Microsoft.ServiceBus.EndToEndBasicHttpSecurityMode
The type of security used with the SOAP message and for the client.
Type: Microsoft.ServiceBus.RelayClientAuthenticationType
The type of authentication used by the client.

relayClientAuthenticationType controls whether clients of a service are required to present a security token issued by the Windows Azure Access Control service to the Windows Azure Service Bus service when sending messages. Services (listeners) are always required to authenticate with the Access Control service and present an authorization token to the Windows Azure Service Bus. If the service (listener) wants to take over the responsibility of authenticating/authorizing clients, it can opt out of the integration between Windows Azure Access Control and Windows Azure Service Bus by setting this parameter to RelayClientAuthenticationType.None. The default value is RelayClientAuthenticationType.RelayAccessToken.

Community Additions

© 2015 Microsoft