Editar

Partilhar via


UdpDiscoveryEndpoint Class

Definition

A standard endpoint that is pre-configured for discovery operations over a UDP multicast binding. This endpoint inherits from DiscoveryEndpoint and similarly has a fixed contract and supports two WS-Discovery protocol versions. In addition, it has a fixed UDP binding and a default address as specified in the WS-Discovery specifications (WS-Discovery April 2005 or WS-Discovery V1.1).

public ref class UdpDiscoveryEndpoint : System::ServiceModel::Discovery::DiscoveryEndpoint
public class UdpDiscoveryEndpoint : System.ServiceModel.Discovery.DiscoveryEndpoint
type UdpDiscoveryEndpoint = class
    inherit DiscoveryEndpoint
Public Class UdpDiscoveryEndpoint
Inherits DiscoveryEndpoint
Inheritance

Constructors

UdpDiscoveryEndpoint()

Creates a new instance of the UdpDiscoveryEndpoint class.

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(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.

Fields

DefaultIPv4MulticastAddress

The default UDP multicast address for IPv4.

DefaultIPv6MulticastAddress

The default UDP multicast address for IPv6.

Properties

Address

Gets or sets the endpoint address for the service endpoint.

(Inherited from ServiceEndpoint)
Behaviors

Gets the behaviors for the service endpoint.

(Inherited from ServiceEndpoint)
Binding

Gets or sets the binding for the service endpoint.

(Inherited from ServiceEndpoint)
Contract

Gets the contract for the service endpoint.

(Inherited from ServiceEndpoint)
DiscoveryMode

Gets the discovery mode for the endpoint.

(Inherited from DiscoveryEndpoint)
DiscoveryVersion

Gets the DiscoveryVersion for the endpoint.

(Inherited from DiscoveryEndpoint)
EndpointBehaviors

Gets the endpoint behaviors for the service.

(Inherited from ServiceEndpoint)
IsSystemEndpoint

Gets or sets whether the service endpoint is generated by the system as opposed to being user-defined.

(Inherited from ServiceEndpoint)
ListenUri

Gets or sets the URI at which the service endpoint listens.

(Inherited from ServiceEndpoint)
ListenUriMode

Gets or sets how the transport handles the URI that is provided for the service to listen on.

(Inherited from ServiceEndpoint)
MaxResponseDelay

Gets or sets the maximum TimeSpan within which all of the ProbeMatches for a service that respond to a probe operation are sent.

(Inherited from DiscoveryEndpoint)
MulticastAddress

Gets or sets the multicast address.

Name

Gets or sets the name of the service endpoint.

(Inherited from ServiceEndpoint)
TransportSettings
Obsolete.

Gets the UdpTransportSettings instance associated with the UdpDiscoveryEndpoint.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to