ServiceDiscoveryBehavior Class

Definition

This class controls the discoverability of service endpoints.

C#
public class ServiceDiscoveryBehavior : System.ServiceModel.Description.IServiceBehavior
Inheritance
ServiceDiscoveryBehavior
Implements

Remarks

A ServiceDiscoveryBehavior makes all endpoints of a service discoverable. Use EndpointDiscoveryBehavior to control the discoverability of a particular endpoint as well as discoverable metadata.

Constructors

ServiceDiscoveryBehavior()

Creates a new instance of the ServiceDiscoveryBehavior class.

Properties

AnnouncementEndpoints

Gets a collection of announcement endpoints. Use this collection to specify the endpoints to use for sending announcement messages.

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)

Explicit Interface Implementations

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1