Редактиране

Споделяне чрез


UdpAnnouncementEndpoint.TransportSettings Property

Definition

Caution

TranportSettings property in System.SerivceModel.Discovery.UdpAnnouncementEndpoint is obsolete. Consider using System.ServiceModel.Channels.UdpTransportBindingElement for setting the transport properties.

Gets the UDP transport settings associated with the UdpAnnouncementEndpoint instance.

public:
 property System::ServiceModel::Discovery::UdpTransportSettings ^ TransportSettings { System::ServiceModel::Discovery::UdpTransportSettings ^ get(); };
public System.ServiceModel.Discovery.UdpTransportSettings TransportSettings { get; }
[System.Obsolete("TranportSettings property in System.SerivceModel.Discovery.UdpAnnouncementEndpoint is obsolete. Consider using System.ServiceModel.Channels.UdpTransportBindingElement for setting the transport properties.")]
public System.ServiceModel.Discovery.UdpTransportSettings TransportSettings { get; }
member this.TransportSettings : System.ServiceModel.Discovery.UdpTransportSettings
[<System.Obsolete("TranportSettings property in System.SerivceModel.Discovery.UdpAnnouncementEndpoint is obsolete. Consider using System.ServiceModel.Channels.UdpTransportBindingElement for setting the transport properties.")>]
member this.TransportSettings : System.ServiceModel.Discovery.UdpTransportSettings
Public ReadOnly Property TransportSettings As UdpTransportSettings

Property Value

The UDP transport settings.

Attributes

Applies to