WS2007HttpRelayBinding Constructor (EndToEndSecurityMode, RelayClientAuthenticationType, Boolean)

WS2007HttpRelayBinding Constructor (EndToEndSecurityMode, RelayClientAuthenticationType, Boolean)


Initializes a new instance of the WS2007HttpRelayBinding class with a specified type of security used by the binding, the specified authentication for the client relay, and a value that indicates whether a reliable session is enabled.

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

public WS2007HttpRelayBinding(
	EndToEndSecurityMode securityMode,
	RelayClientAuthenticationType relayClientAuthenticationType,
	bool reliableSessionEnabled


Type: Microsoft.ServiceBus.EndToEndSecurityMode

Specifies the type of security that is used with the SOAP message and for the client.

Type: Microsoft.ServiceBus.RelayClientAuthenticationType

The type of authentication used by the client. 

Type: System.Boolean

true if a reliable session is enabled; otherwise, false.

Controls whether clients of a service are required to present a security token issued by the Access Control service to the Service Bus service when sending messages.

A reliable session is a concept inherited from the Windows Communication Foundation (WCF) that provides end-to-end message transfer reliability between SOAP endpoints. For more information, see the in the WCF documentation.

In general, you would use this constructor in the beginning of an application, before creating a connection to Service Bus. You cannot change the associated security mode, authentication type, or reliable session once you have created the binding. The constructor is used by both service and client applications. For more information, see and Application.

Return to top
© 2015 Microsoft