Redigera

Dela via


ServiceDiscoveryBehavior Class

Definition

This class controls the discoverability of service endpoints.

public ref class ServiceDiscoveryBehavior : System::ServiceModel::Description::IServiceBehavior
public class ServiceDiscoveryBehavior : System.ServiceModel.Description.IServiceBehavior
type ServiceDiscoveryBehavior = class
    interface IServiceBehavior
Public Class ServiceDiscoveryBehavior
Implements 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

IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

An implementation of the AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection) method.

IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

An implementation of the ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) method.

IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)

An implementation of the Validate(ServiceDescription, ServiceHostBase) method.

Applies to