Class WS2007HttpRelayBinding
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Represents an interoperable binding that derives from WSHttpRelayBinding and provides support for the updated versions of the Security, ReliableSession, and TransactionFlow binding elements.
public class WS2007HttpRelayBinding : WSHttpRelayBinding, IBindingRuntimePreferences
- Inheritance
-
WS2007HttpRelayBinding
- Implements
-
IBindingRuntimePreferences
- Inherited Members
Constructors
WS2007HttpRelayBinding()
Initializes a new instance of the WS2007HttpRelayBinding class with a specified type of security used by the binding.
public WS2007HttpRelayBinding()
WS2007HttpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType)
Initializes a new instance of the WS2007HttpRelayBinding class with a specified type of security and relay client authentication used by the binding.
public WS2007HttpRelayBinding(EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType)
Parameters
securityMode
EndToEndSecurityModeThe security mode that specifies the type of security that is used with the SOAP message and for the client.
relayClientAuthenticationType
RelayClientAuthenticationTypeThe type of authentication used by the client.
WS2007HttpRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType, bool)
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.
public WS2007HttpRelayBinding(EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType, bool reliableSessionEnabled)
Parameters
securityMode
EndToEndSecurityModeSpecifies the type of security that is used with the SOAP message and for the client.
relayClientAuthenticationType
RelayClientAuthenticationTypeThe type of authentication used by the client.
reliableSessionEnabled
booltrue if a reliable session is enabled; otherwise, false.
WS2007HttpRelayBinding(string)
Initializes a new instance of the WS2007HttpRelayBinding class with a binding specified by its configuration name.
public WS2007HttpRelayBinding(string configName)
Parameters
configName
stringThe binding configuration name for the WS2007HttpRelayBindingElement
Methods
CreateMessageSecurity()
Retrieves the security binding element from the current binding.
protected override SecurityBindingElement CreateMessageSecurity()
Returns
- SecurityBindingElement
Returns a System.ServiceModel.Channels.SecurityBindingElement that contains the current security binding element.