共用方式為


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

屬性值

UdpTransportSettings

端點的 UDP 傳輸設定。

屬性

備註

使用 UdpTransportSettings 變更 UDP 端點的 UDP 傳輸設定。

適用於