共用方式為


UdpAnnouncementEndpoint.TransportSettings 屬性

定義

警告

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

取得與 UdpAnnouncementEndpoint 執行個體相關聯的 UDP 傳輸設定。

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

屬性值

UDP 傳輸設定。

屬性

適用於