Table of Contents

Class WSHttpRelayBindingElement

Namespace
Microsoft.ServiceBus.Configuration
Assembly
Microsoft.ServiceBus.dll

A configuration element that represents an interoperable binding that supports distributed transactions and secure, reliable sessions.

public abstract class WSHttpRelayBindingElement : WSHttpRelayBindingBaseElement
Inheritance
WSHttpRelayBindingElement
Derived
Inherited Members

Properties

AllowCookies

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

public bool AllowCookies { get; set; }

Property Value

bool

true if the service or client accepts cookies and propagates them on future requests; otherwise, false. The default is false.

BindingElementType

Gets the type of the WSHttpRelayBinding binding.

protected override Type BindingElementType { get; }

Property Value

Type

The type of the WSHttpRelayBinding binding.

Properties

Gets a collection of properties of this binding configuration element.

protected override ConfigurationPropertyCollection Properties { get; }

Property Value

ConfigurationPropertyCollection

A collection of properties of this binding configuration element.

Security

Gets the WSHttpRelaySecurityElement configuration element that contains the security settings for the WSHttpRelayBinding binding.

public WSHttpRelaySecurityElement Security { get; }

Property Value

WSHttpRelaySecurityElement

The WSHttpRelaySecurityElement configuration element that contains the security settings for the WSHttpRelayBinding binding.

Methods

InitializeFrom(Binding)

Initializes this binding configuration element with the content of the specfied binding.

protected override void InitializeFrom(Binding binding)

Parameters

binding Binding

The binding to initialize this configuration element from.

OnApplyConfiguration(Binding)

Applies the settings of this configuration element to the specified binding.

protected override void OnApplyConfiguration(Binding binding)

Parameters

binding Binding

The binding to update the settings of.