C# Class UdpTransportBinding.NetUdpBinding

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.ServiceModel.Channels.Binding
Exibir arquivo Open project: zencoders/sambatyon Class Usage Examples

Public Methods

Method Description
CreateBindingElements ( ) : BindingElementCollection

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

NetUdpBinding ( ) : System
NetUdpBinding ( bool reliableSessionEnabled ) : System
NetUdpBinding ( string configurationName ) : System
TryCreate ( BindingElementCollection elements, System.ServiceModel.Channels.Binding &binding ) : bool

Private Methods

Method Description
ApplyConfiguration ( string configurationName ) : void
Initialize ( ) : void
InitializeFrom ( UdpTransportBindingElement udpTransportBindingElement, TextMessageEncodingBindingElement textMessageEncodingBindingElement, ReliableSessionBindingElement reliableSessionBindingElement, CompositeDuplexBindingElement compositeDuplexBindingElement ) : void
IsBindingElementsMatch ( UdpTransportBindingElement udpTransportBindingElement, TextMessageEncodingBindingElement textMessageEncodingBindingElement, ReliableSessionBindingElement reliableSessionBindingElement, CompositeDuplexBindingElement compositeDuplexBindingElement ) : bool
IsCompositeDuplexMatch ( BindingElement a, BindingElement b ) : bool
IsEncodingMatch ( BindingElement a, BindingElement b ) : bool
IsMessageVersionMatch ( System.ServiceModel.Channels.MessageVersion a, System.ServiceModel.Channels.MessageVersion b ) : bool
IsSessionMatch ( BindingElement a, BindingElement b ) : bool
IsTransportMatch ( BindingElement a, BindingElement b ) : bool

Method Details

CreateBindingElements() public method

Create the set of binding elements that make up this binding. NOTE: order of binding elements is important.
public CreateBindingElements ( ) : BindingElementCollection
return BindingElementCollection

NetUdpBinding() public method

public NetUdpBinding ( ) : System
return System

NetUdpBinding() public method

public NetUdpBinding ( bool reliableSessionEnabled ) : System
reliableSessionEnabled bool
return System

NetUdpBinding() public method

public NetUdpBinding ( string configurationName ) : System
configurationName string
return System

TryCreate() public static method

public static TryCreate ( BindingElementCollection elements, System.ServiceModel.Channels.Binding &binding ) : bool
elements BindingElementCollection
binding System.ServiceModel.Channels.Binding
return bool