Table of Contents

Class NetEventRelayBinding

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

Represents a binding that supports one-way event multicasting and allows any number of event publishers and event consumers to rendezvous at the same endpoint.

public class NetEventRelayBinding : NetOnewayRelayBinding, IBindingRuntimePreferences
Inheritance
NetEventRelayBinding
Implements
IBindingRuntimePreferences
Inherited Members

Constructors

NetEventRelayBinding()

Initializes a new instance of the NetEventRelayBinding class.

public NetEventRelayBinding()

NetEventRelayBinding(EndToEndSecurityMode, RelayEventSubscriberAuthenticationType)

Initializes a new instance of the NetEventRelayBinding class, using the specified security mode and relay client authentication type.

public NetEventRelayBinding(EndToEndSecurityMode securityMode, RelayEventSubscriberAuthenticationType relayClientAuthenticationType)

Parameters

securityMode EndToEndSecurityMode

The type of security used with the SOAP message and for the client.

relayClientAuthenticationType RelayEventSubscriberAuthenticationType

The type of authentication used by the client.

NetEventRelayBinding(RelayedOnewayTransportBindingElement, BinaryMessageEncodingBindingElement, NetOnewayRelaySecurity)

Initializes a new instance of theNetEventRelayBinding class, using the specified transport, encoding, and security elements.

protected NetEventRelayBinding(RelayedOnewayTransportBindingElement transport, BinaryMessageEncodingBindingElement encoding, NetOnewayRelaySecurity security)

Parameters

transport RelayedOnewayTransportBindingElement

The transport to use.

encoding BinaryMessageEncodingBindingElement

The encoding to use.

security NetOnewayRelaySecurity

The type of security used with the SOAP message and for the client.

NetEventRelayBinding(string)

Initializes a new instance of the NetEventRelayBinding class, using the specified configuration.

public NetEventRelayBinding(string configurationName)

Parameters

configurationName string

The name of the configuration to use.

Methods

ApplyConfiguration(string)

Applies the settings from the configuration element that corresponds to the specified name to the current instance of this binding element.

protected override void ApplyConfiguration(string configurationName)

Parameters

configurationName string

The name of the configuration element to take the settings from.

IsBindingElementsMatch(RelayedOnewayTransportBindingElement, BinaryMessageEncodingBindingElement, ReliableSessionBindingElement)

Retrieves a value that determines if the specified binding elements match the current instance.

protected bool IsBindingElementsMatch(RelayedOnewayTransportBindingElement transport, BinaryMessageEncodingBindingElement encoding, ReliableSessionBindingElement session)

Parameters

transport RelayedOnewayTransportBindingElement

The transport to check against the current instance.

encoding BinaryMessageEncodingBindingElement

The encoding to check against the current instance.

session ReliableSessionBindingElement

The session to check against the current instance.

Returns

bool

Returns true if the bindings match; otherwise, false.