Class UdpBinding

Binding for Udp. This is our "sample profile" for Udp, which uses Text+Soap 1.2 and allows for variation in Reliability capabilities. If ReliableSessionEnabled is set then we will layer RM+CompositeDuplex on top of Udp. Otherwise we will just have Udp on our stack.

Inheritance
System.Object
UdpBinding
Namespace: Microsoft.ServiceModel.Samples
Assembly: EPiServer.Events.dll
Version: 8.11.0
Syntax
public class UdpBinding : Binding

Constructors

UdpBinding()

Declaration
public UdpBinding()

UdpBinding(Boolean)

Declaration
public UdpBinding(bool reliableSessionEnabled)
Parameters
Type Name Description
System.Boolean reliableSessionEnabled

UdpBinding(String)

Declaration
public UdpBinding(string configurationName)
Parameters
Type Name Description
System.String configurationName

Properties

ClientBaseAddress

Declaration
public Uri ClientBaseAddress { get; set; }
Property Value
Type Description
System.Uri

OrderedSession

Declaration
public bool OrderedSession { get; set; }
Property Value
Type Description
System.Boolean

ReliableSessionEnabled

Declaration
public bool ReliableSessionEnabled { get; set; }
Property Value
Type Description
System.Boolean

Scheme

Declaration
public override string Scheme { get; }
Property Value
Type Description
System.String

SessionInactivityTimeout

Declaration
public TimeSpan SessionInactivityTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

SoapVersion

Declaration
public EnvelopeVersion SoapVersion { get; }
Property Value
Type Description
System.ServiceModel.EnvelopeVersion

Methods

CreateBindingElements()

Create the set of binding elements that make up this binding. NOTE: order of binding elements is important.

Declaration
public override BindingElementCollection CreateBindingElements()
Returns
Type Description
System.ServiceModel.Channels.BindingElementCollection

TryCreate(BindingElementCollection, out Binding)

Declaration
public static bool TryCreate(BindingElementCollection elements, out Binding binding)
Parameters
Type Name Description
System.ServiceModel.Channels.BindingElementCollection elements
System.ServiceModel.Channels.Binding binding
Returns
Type Description
System.Boolean