DiscoveryService Class

.NET Framework (current version)
 

An abstract base class used to implement a discovery service.

Namespace:   System.ServiceModel.Discovery
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)

System::Object
  System.ServiceModel.Discovery::DiscoveryService

public ref class DiscoveryService abstract 

NameDescription
System_CAPS_protmethodDiscoveryService()

Initializes a new instance of the DiscoveryService class.

System_CAPS_protmethodDiscoveryService(DiscoveryMessageSequenceGenerator^)

Initializes a new instance of the DiscoveryService class with the specified DiscoveryMessageSequenceGenerator.

System_CAPS_protmethodDiscoveryService(DiscoveryMessageSequenceGenerator^, Int32)

Initializes a new instance of the DiscoveryService class with the specified DiscoveryMessageSequenceGenerator and duplicate message history length.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnBeginFind(FindRequestContext^, AsyncCallback^, Object^)

Override this method to handle a find operation.

System_CAPS_protmethodOnBeginResolve(ResolveCriteria^, AsyncCallback^, Object^)

Override this method to handle a resolve operation.

System_CAPS_protmethodOnEndFind(IAsyncResult^)

Override this method to handle the completion of a find operation.

System_CAPS_protmethodOnEndResolve(IAsyncResult^)

Override this method to handle the completion of a resolve operation.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

When a ServiceDiscoveryBehavior is added to a service, a default DiscoveryService implementation is used to handle Find and Resolve requests. Extend this class to implement a custom discovery service that has behavior different from the default implementation, such as to reply to Find requests using a custom matching algorithm

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: