UdpDiscoveryEndpoint Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the UdpDiscoveryEndpoint class.
Overloads
UdpDiscoveryEndpoint() |
Creates a new instance of the UdpDiscoveryEndpoint class. |
UdpDiscoveryEndpoint(DiscoveryVersion) |
Creates a new instance of the UdpDiscoveryEndpoint class with the specified DiscoveryVersion. |
UdpDiscoveryEndpoint(String) |
Creates a new instance of the UdpDiscoveryEndpoint class with the specified multicast address. |
UdpDiscoveryEndpoint(Uri) |
Creates a new instance of the UdpDiscoveryEndpoint class with the specified multicast address. |
UdpDiscoveryEndpoint(DiscoveryVersion, String) |
Creates a new instance of the UdpDiscoveryEndpoint class with the specified DiscoveryVersion and multicast address. |
UdpDiscoveryEndpoint(DiscoveryVersion, Uri) |
Creates a new instance of the UdpDiscoveryEndpoint class with the specified DiscoveryVersion and multicast address. |
UdpDiscoveryEndpoint()
Creates a new instance of the UdpDiscoveryEndpoint class.
public:
UdpDiscoveryEndpoint();
public UdpDiscoveryEndpoint ();
Public Sub New ()
Applies to
UdpDiscoveryEndpoint(DiscoveryVersion)
Creates a new instance of the UdpDiscoveryEndpoint class with the specified DiscoveryVersion.
public:
UdpDiscoveryEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion);
public UdpDiscoveryEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion);
new System.ServiceModel.Discovery.UdpDiscoveryEndpoint : System.ServiceModel.Discovery.DiscoveryVersion -> System.ServiceModel.Discovery.UdpDiscoveryEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion)
Parameters
- discoveryVersion
- DiscoveryVersion
The DiscoveryVersion to use.
Remarks
Two versions of the WS-Discovery protocol are currently supported: WS-Discovery April 2005 and WS-Discovery V1.1, which correspond to the WSDiscoveryApril2005 and WSDiscovery11 enumeration values.
Applies to
UdpDiscoveryEndpoint(String)
Creates a new instance of the UdpDiscoveryEndpoint class with the specified multicast address.
public:
UdpDiscoveryEndpoint(System::String ^ multicastAddress);
public UdpDiscoveryEndpoint (string multicastAddress);
new System.ServiceModel.Discovery.UdpDiscoveryEndpoint : string -> System.ServiceModel.Discovery.UdpDiscoveryEndpoint
Public Sub New (multicastAddress As String)
Parameters
- multicastAddress
- String
The multicast address.
Applies to
UdpDiscoveryEndpoint(Uri)
Creates a new instance of the UdpDiscoveryEndpoint class with the specified multicast address.
public:
UdpDiscoveryEndpoint(Uri ^ multicastAddress);
public UdpDiscoveryEndpoint (Uri multicastAddress);
new System.ServiceModel.Discovery.UdpDiscoveryEndpoint : Uri -> System.ServiceModel.Discovery.UdpDiscoveryEndpoint
Public Sub New (multicastAddress As Uri)
Parameters
- multicastAddress
- Uri
The multicast address.
Applies to
UdpDiscoveryEndpoint(DiscoveryVersion, String)
Creates a new instance of the UdpDiscoveryEndpoint class with the specified DiscoveryVersion and multicast address.
public:
UdpDiscoveryEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion, System::String ^ multicastAddress);
public UdpDiscoveryEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion, string multicastAddress);
new System.ServiceModel.Discovery.UdpDiscoveryEndpoint : System.ServiceModel.Discovery.DiscoveryVersion * string -> System.ServiceModel.Discovery.UdpDiscoveryEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion, multicastAddress As String)
Parameters
- discoveryVersion
- DiscoveryVersion
The DiscoveryVersion to use.
- multicastAddress
- String
The multicast address for the UDP discovery endpoint.
Remarks
Two versions of the WS-Discovery protocol are currently supported: WS-Discovery April 2005 and WS-Discovery V1.1, which correspond to the WSDiscoveryApril2005 and WSDiscovery11 enumeration values.
Applies to
UdpDiscoveryEndpoint(DiscoveryVersion, Uri)
Creates a new instance of the UdpDiscoveryEndpoint class with the specified DiscoveryVersion and multicast address.
public:
UdpDiscoveryEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion, Uri ^ multicastAddress);
public UdpDiscoveryEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion, Uri multicastAddress);
new System.ServiceModel.Discovery.UdpDiscoveryEndpoint : System.ServiceModel.Discovery.DiscoveryVersion * Uri -> System.ServiceModel.Discovery.UdpDiscoveryEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion, multicastAddress As Uri)
Parameters
- discoveryVersion
- DiscoveryVersion
The DiscoveryVersion to use.
Remarks
Two versions of the WS-Discovery protocol are currently supported: WS-Discovery April 2005 and WS-Discovery V1.1, which correspond to the WSDiscoveryApril2005 and WSDiscovery11 enumeration values.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기