Export (0) Print
Expand All

UdpTransportBindingElement Class

.NET Framework 4.5

Represents a UDP transport binding element.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.Channels (in System.ServiceModel.Channels.dll)

public class UdpTransportBindingElement : TransportBindingElement, 
	IPolicyExportExtension, IWsdlExportExtension

The UdpTransportBindingElement type exposes the following members.

Public methodUdpTransportBindingElementInitializes a new instance of the UdpTransportBindingElement class.

Public propertyDuplicateMessageHistoryLengthGets or sets the maximum number of message hashes used by the binding to identify duplicate messages.
Public propertyManualAddressingGets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.)
Public propertyMaxBufferPoolSizeGets or sets the maximum size, in bytes, of any buffer pools used by the transport. (Inherited from TransportBindingElement.)
Public propertyMaxPendingMessagesTotalSizeGets or sets the maximum number of messages that are received but not yet removed from the input queue for an individual channel instance.
Public propertyMaxReceivedMessageSizeGets and sets the maximum allowable message size, in bytes, that can be received. (Inherited from TransportBindingElement.)
Public propertyMulticastInterfaceIdGets or sets the network adapter that is used when sending and receiving multicast traffic on multi-honed machines.
Public propertyRetransmissionSettingsGets or sets the UDP retransmission settings.
Public propertySchemeGets the URI scheme for the transport. (Overrides TransportBindingElement.Scheme.)
Public propertySocketReceiveBufferSizeGets or sets the receive buffer size on the underlying socket.
Public propertyTimeToLiveGets or sets the number of network segment hops.

Public methodBuildChannelFactory<TChannel>Initializes a channel factory for producing channels of a specified type from the binding context. (Overrides BindingElement.BuildChannelFactory<TChannel>(BindingContext).)
Public methodBuildChannelListener<TChannel>Initializes a channel listener to accept channels of a specified type from the binding context. (Overrides BindingElement.BuildChannelListener<TChannel>(BindingContext).)
Public methodCanBuildChannelFactory<TChannel>Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)
Public methodCanBuildChannelListener<TChannel>Returns a value that indicates whether the binding element can build a listener for a specific type of channel. (Overrides BindingElement.CanBuildChannelListener<TChannel>(BindingContext).)
Public methodCloneReturns a copy of the binding element object. (Overrides BindingElement.Clone().)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetProperty<T>Returns a property from the specified binding context. (Overrides TransportBindingElement.GetProperty<T>(BindingContext).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodShouldSerializeRetransmissionSettingsIndicates whether the retransmission settings from the binding element should serialize.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Explicit interface implemetationPrivate methodIPolicyExportExtension.ExportPolicyWrites the custom policy assertions into the context of the binding element.
Explicit interface implemetationPrivate methodIWsdlExportExtension.ExportContractWrites the custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.
Explicit interface implemetationPrivate methodIWsdlExportExtension.ExportEndpointWrites the custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

.NET Framework

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2014 Microsoft