Επεξεργασία

Κοινή χρήση μέσω


UdpTransportBindingElement Class

Definition

Represents a UDP transport binding element.

public ref class UdpTransportBindingElement : System::ServiceModel::Channels::TransportBindingElement, System::ServiceModel::Description::IPolicyExportExtension, System::ServiceModel::Description::IWsdlExportExtension
public class UdpTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type UdpTransportBindingElement = class
    inherit TransportBindingElement
    interface IPolicyExportExtension
    interface IWsdlExportExtension
Public Class UdpTransportBindingElement
Inherits TransportBindingElement
Implements IPolicyExportExtension, IWsdlExportExtension
Inheritance
UdpTransportBindingElement
Implements

Constructors

UdpTransportBindingElement()

Initializes a new instance of the UdpTransportBindingElement class.

Properties

DuplicateMessageHistoryLength

Gets or sets the maximum number of message hashes used by the binding to identify duplicate messages.

ManualAddressing

Gets or sets a value that indicates whether manual addressing of the message is required.

(Inherited from TransportBindingElement)
MaxBufferPoolSize

Gets or sets the maximum size, in bytes, of any buffer pools used by the transport.

(Inherited from TransportBindingElement)
MaxPendingMessagesTotalSize

Gets or sets the maximum number of messages that are received but not yet removed from the input queue for an individual channel instance.

MaxReceivedMessageSize

Gets or sets the maximum allowable message size, in bytes, that can be received.

(Inherited from TransportBindingElement)
MulticastInterfaceId

Gets or sets the network adapter that is used when sending and receiving multicast traffic on multi-honed machines.

RetransmissionSettings

Gets or sets the UDP retransmission settings.

Scheme

Gets the URI scheme for the transport.

SocketReceiveBufferSize

Gets or sets the receive buffer size on the underlying socket.

TimeToLive

Gets or sets the number of network segment hops.

Methods

BuildChannelFactory<TChannel>(BindingContext)

Initializes a channel factory for producing channels of a specified type from the binding context.

BuildChannelListener<TChannel>(BindingContext)

Initializes a channel listener to accept channels of a specified type from the binding context.

CanBuildChannelFactory<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel.

CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

Clone()

Returns a copy of the binding element object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperty<T>(BindingContext)

Returns a property from the specified binding context.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeRetransmissionSettings()

Indicates whether the retransmission settings from the binding element should serialize.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Writes the custom policy assertions into the context of the binding element.

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

Writes the custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Writes the custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

Applies to