DiscoveryService Class
An abstract base class used to implement a discovery service.
Assembly: System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)
| Name | Description | |
|---|---|---|
![]() | DiscoveryService() | Initializes a new instance of the DiscoveryService class. |
![]() | DiscoveryService(DiscoveryMessageSequenceGenerator^) | Initializes a new instance of the DiscoveryService class with the specified DiscoveryMessageSequenceGenerator. |
![]() | DiscoveryService(DiscoveryMessageSequenceGenerator^, Int32) | Initializes a new instance of the DiscoveryService class with the specified DiscoveryMessageSequenceGenerator and duplicate message history length. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | OnBeginFind(FindRequestContext^, AsyncCallback^, Object^) | Override this method to handle a find operation. |
![]() | OnBeginResolve(ResolveCriteria^, AsyncCallback^, Object^) | Override this method to handle a resolve operation. |
![]() | OnEndFind(IAsyncResult^) | Override this method to handle the completion of a find operation. |
![]() | OnEndResolve(IAsyncResult^) | Override this method to handle the completion of a resolve operation. |
![]() | ToString() | 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
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.

