Edit

Share via


UdpDiscoveryEndpoint Constructors

Definition

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.

multicastAddress
Uri

A Uri with the multicast address.

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