Modifica

Condividi tramite


AnnouncementEndpoint Class

Definition

A standard endpoint that is used by services to send announcement messages.

public ref class AnnouncementEndpoint : System::ServiceModel::Description::ServiceEndpoint
public class AnnouncementEndpoint : System.ServiceModel.Description.ServiceEndpoint
type AnnouncementEndpoint = class
    inherit ServiceEndpoint
Public Class AnnouncementEndpoint
Inherits ServiceEndpoint
Inheritance
AnnouncementEndpoint
Derived

Remarks

This class represents an endpoint that has a fixed contract so when you create announcement endpoints you only specify the binding and the address. AnnouncementEndpoint supports two discovery protocols versions: WS-Discovery April 2005 and WS-Discovery July 2008. Any instance of the endpoint supports only one of these versions. You choose which version is supported by the endpoint by providing the discoveryVersion parameter to the appropriate AnnouncementEndpoint constructor. The default discovery version is WS-Discovery April 2005.

AnnouncementClient uses AnnouncementEndpoint to send announcements. AnnouncementService and all classes derived from it use AnnouncementEndpoint to listen for announcements.

Constructors

AnnouncementEndpoint()

Creates a new instance of the AnnouncementEndpoint class.

AnnouncementEndpoint(Binding, EndpointAddress)

Creates a new instance of the AnnouncementEndpoint class with the specified binding and address.

AnnouncementEndpoint(DiscoveryVersion, Binding, EndpointAddress)

Creates a new instance of the AnnouncementEndpoint class that supports the specified DiscoveryVersion with the specified binding and address.

AnnouncementEndpoint(DiscoveryVersion)

Creates a new instance of the AnnouncementEndpoint class that supports the specified DiscoveryVersion.

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.

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.

Name

Gets or sets the name of the service endpoint.

(Inherited from ServiceEndpoint)

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