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
EndToEndSecurityModeThe type of security used with the SOAP message and for the client.
relayClientAuthenticationType
RelayEventSubscriberAuthenticationTypeThe 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
RelayedOnewayTransportBindingElementThe transport to use.
encoding
BinaryMessageEncodingBindingElementThe encoding to use.
security
NetOnewayRelaySecurityThe 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
stringThe 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
stringThe 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
RelayedOnewayTransportBindingElementThe transport to check against the current instance.
encoding
BinaryMessageEncodingBindingElementThe encoding to check against the current instance.
session
ReliableSessionBindingElementThe session to check against the current instance.
Returns
- bool
Returns true if the bindings match; otherwise, false.