Редагувати

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


UdpAnnouncementEndpoint Class

Definition

A standard endpoint that is used by services to send announcement messages over a UDP binding. This endpoint inherits from AnnouncementEndpoint and similarly has a fixed contract and supports two discovery versions. In addition it has a fixed UDP binding and a default address value as specified in the WS-Discovery specifications (WS-Discovery April 2005 or WS-Discovery version 1.1). Therefore, in the simplest case you do not have to specify any of these values when you create an AnnouncementEndpoint and add it to a service.

public ref class UdpAnnouncementEndpoint : System::ServiceModel::Discovery::AnnouncementEndpoint
public class UdpAnnouncementEndpoint : System.ServiceModel.Discovery.AnnouncementEndpoint
type UdpAnnouncementEndpoint = class
    inherit AnnouncementEndpoint
Public Class UdpAnnouncementEndpoint
Inherits AnnouncementEndpoint
Inheritance
UdpAnnouncementEndpoint

Constructors

UdpAnnouncementEndpoint()

Creates a new instance of the UdpAnnouncementEndpoint class.

UdpAnnouncementEndpoint(DiscoveryVersion, String)

Creates a new instance of the UdpAnnouncementEndpoint that is configured to use the specified DiscoveryVersion and multicast address.

UdpAnnouncementEndpoint(DiscoveryVersion, Uri)

Creates a new instance of the UdpAnnouncementEndpoint that is configured to use the specified DiscoveryVersion and multicast address.

UdpAnnouncementEndpoint(DiscoveryVersion)

Creates a new instance of the UdpAnnouncementEndpoint class that is configured to use the specified DiscoveryVersion.

UdpAnnouncementEndpoint(String)

Creates a new instance of the UdpAnnouncementEndpoint class with the specified multicast address.

UdpAnnouncementEndpoint(Uri)

Creates a new instance of the UdpAnnouncementEndpoint 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)
DiscoveryVersion

Gets the discovery version this announcement endpoint supports.

(Inherited from AnnouncementEndpoint)
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)
MaxAnnouncementDelay

Gets or sets the maximum announcement delay.

(Inherited from AnnouncementEndpoint)
MulticastAddress

Gets or sets the endpoint's multicast address.

Name

Gets or sets the name of the service endpoint.

(Inherited from ServiceEndpoint)
TransportSettings
Obsolete.

Gets the UDP transport settings associated with the UdpAnnouncementEndpoint instance.

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