C# Class Microsoft.ServiceModel.Samples.UdpTransportElement

Configuration section for Udp.
Inheritance: System.ServiceModel.Configuration.BindingElementExtensionElement
Datei anzeigen Open project: ChristianWeyer/Thinktecture.ServiceModel Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ApplyConfiguration ( BindingElement bindingElement ) : void

Applies the content of a specified binding element to this binding configuration element.

CopyFrom ( System.ServiceModel.Configuration.ServiceModelExtensionElement from ) : void

Copies the content of the specified configuration element to this configuration element.

UdpTransportElement ( ) : System

Initializes a new instance of the UdpTransportElement class.

Protected Methods

Method Description
CreateBindingElement ( ) : BindingElement

When overridden in a derived class, returns a custom binding element object.

InitializeFrom ( BindingElement bindingElement ) : void

Initializes this binding configuration section with the content of the specified binding element.

Method Details

ApplyConfiguration() public method

Applies the content of a specified binding element to this binding configuration element.
/// is null.
public ApplyConfiguration ( BindingElement bindingElement ) : void
bindingElement BindingElement A binding element.
return void

CopyFrom() public method

Copies the content of the specified configuration element to this configuration element.
/// is null. The configuration file is read-only.
public CopyFrom ( System.ServiceModel.Configuration.ServiceModelExtensionElement from ) : void
from System.ServiceModel.Configuration.ServiceModelExtensionElement The configuration element to be copied.
return void

CreateBindingElement() protected method

When overridden in a derived class, returns a custom binding element object.
protected CreateBindingElement ( ) : BindingElement
return BindingElement

InitializeFrom() protected method

Initializes this binding configuration section with the content of the specified binding element.
protected InitializeFrom ( BindingElement bindingElement ) : void
bindingElement BindingElement A binding element.
return void

UdpTransportElement() public method

Initializes a new instance of the UdpTransportElement class.
public UdpTransportElement ( ) : System
return System