Поделиться через


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.

Применяется к