UdpDiscoveryEndpoint.TransportSettings 属性

定义

注意

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

获取与 UdpTransportSettings 关联的 UdpDiscoveryEndpoint 实例。

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.UdpDiscoveryEndpoint 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.UdpDiscoveryEndpoint 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

属性值

终结点的 UDP 传输设置。

属性

注解

使用 UdpTransportSettings 为 UDP 终结点更改 UDP 传输设置。

适用于