Class UdpTransportBindingElement

Udp Binding Element.
Used to configure and construct Udp ChannelFactories and ChannelListeners.

Inheritance
System.Object
UdpTransportBindingElement
Implements
System.ServiceModel.Description.IPolicyExportExtension
System.ServiceModel.Description.IWsdlExportExtension
Namespace: Microsoft.ServiceModel.Samples
Assembly: EPiServer.Events.dll
Version: 8.11.0
Syntax
public class UdpTransportBindingElement : TransportBindingElement, IPolicyExportExtension, IWsdlExportExtension

Constructors

UdpTransportBindingElement()

Declaration
public UdpTransportBindingElement()

UdpTransportBindingElement(UdpTransportBindingElement)

Declaration
protected UdpTransportBindingElement(UdpTransportBindingElement other)
Parameters
Type Name Description
UdpTransportBindingElement other

Properties

Multicast

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

NicToUse

Declaration
public int NicToUse { get; set; }
Property Value
Type Description
System.Int32

Scheme

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

Methods

BuildChannelFactory<TChannel>(BindingContext)

Declaration
public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
Parameters
Type Name Description
System.ServiceModel.Channels.BindingContext context
Returns
Type Description
System.ServiceModel.Channels.IChannelFactory<TChannel>
Type Parameters
Name Description
TChannel

BuildChannelListener<TChannel>(BindingContext)

Declaration
public override IChannelListener<TChannel> BuildChannelListener<TChannel>(BindingContext context)

    where TChannel : class, IChannel
Parameters
Type Name Description
System.ServiceModel.Channels.BindingContext context
Returns
Type Description
System.ServiceModel.Channels.IChannelListener<TChannel>
Type Parameters
Name Description
TChannel

CanBuildChannelFactory<TChannel>(BindingContext)

Used by higher layers to determine what types of channel factories this binding element supports. Which in this case is just IOutputChannel.

Declaration
public override bool CanBuildChannelFactory<TChannel>(BindingContext context)
Parameters
Type Name Description
System.ServiceModel.Channels.BindingContext context
Returns
Type Description
System.Boolean
Type Parameters
Name Description
TChannel

CanBuildChannelListener<TChannel>(BindingContext)

Used by higher layers to determine what types of channel listeners this binding element supports. Which in this case is just IInputChannel.

Declaration
public override bool CanBuildChannelListener<TChannel>(BindingContext context)

    where TChannel : class, IChannel
Parameters
Type Name Description
System.ServiceModel.Channels.BindingContext context
Returns
Type Description
System.Boolean
Type Parameters
Name Description
TChannel

Clone()

Declaration
public override BindingElement Clone()
Returns
Type Description
System.ServiceModel.Channels.BindingElement

ExportContract(WsdlExporter, WsdlContractConversionContext)

Declaration
public void ExportContract(WsdlExporter exporter, WsdlContractConversionContext context)
Parameters
Type Name Description
System.ServiceModel.Description.WsdlExporter exporter
System.ServiceModel.Description.WsdlContractConversionContext context

ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Declaration
public void ExportEndpoint(WsdlExporter exporter, WsdlEndpointConversionContext context)
Parameters
Type Name Description
System.ServiceModel.Description.WsdlExporter exporter
System.ServiceModel.Description.WsdlEndpointConversionContext context

GetProperty<T>(BindingContext)

Declaration
public override T GetProperty<T>(BindingContext context)

    where T : class
Parameters
Type Name Description
System.ServiceModel.Channels.BindingContext context
Returns
Type Description
T
Type Parameters
Name Description
T

Implements

System.ServiceModel.Description.IPolicyExportExtension
System.ServiceModel.Description.IWsdlExportExtension