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.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public WS2007HttpRelayBinding( EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType, bool reliableSessionEnabled )
Specifies the type of security that is used with the SOAP message and for the client.
The type of authentication used by the client.
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 Reliable Sessions Overview 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 Building a Service for the AppFabric Service Bus and Building an AppFabric Service Bus Client Application Application.