Table of Contents

Class WSHttpRelayBinding

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

Represents an interoperable binding that supports distributed transactions and secure, reliable sessions through the cloud.

public abstract class WSHttpRelayBinding : WSHttpRelayBindingBase, IBindingRuntimePreferences
Inheritance
WSHttpRelayBinding
Implements
IBindingRuntimePreferences
Derived
Inherited Members

Properties

AllowCookies

Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.

public bool AllowCookies { get; set; }

Property Value

bool

Returns bool.true if the binding allows cookies; otherwise, false. The default is false.

Security

Gets the security settings used with this binding.

public WSHttpRelaySecurity Security { get; }

Property Value

WSHttpRelaySecurity

Returns a WSHttpRelaySecurity that contains the security used with this binding. The default value Mode property is Message.

Methods

CreateMessageSecurity()

Returns the security binding element from the current binding.

protected override SecurityBindingElement CreateMessageSecurity()

Returns

SecurityBindingElement

Returns a System.ServiceModel.Channels.SecurityBindingElement that contains the current binding.

GetTransport()

Returns the transport binding element from the current binding.

protected override TransportBindingElement GetTransport()

Returns

TransportBindingElement

Returns System.ServiceModel.Channels.TransportBindingElement.Contains the transport binding element from the current binding.