DiscoveryClient Class
.NET Framework 4.5
Allows you to discover available services.
Namespace: System.ServiceModel.Discovery
Assembly: System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)
The DiscoveryClient type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DiscoveryClient() | Creates a new instance of the DiscoveryClient class. |
![]() | DiscoveryClient(DiscoveryEndpoint) | Creates a new instance of the DiscoveryClient class with the specified discovery endpoint. |
![]() | DiscoveryClient(String) | Creates a new instance of the DiscoveryClient class with the specified endpoint configuration. |
| Name | Description | |
|---|---|---|
![]() | ChannelFactory | Gets the channel factory for the DiscoveryClient. |
![]() | ClientCredentials | Gets the client credentials for the DiscoveryClient. |
![]() | Endpoint | Gets the endpoint used to send discovery messages. |
![]() | InnerChannel | Gets the channel used to send discovery messages. |
| Name | Description | |
|---|---|---|
![]() | CancelAsync | Cancels a pending asynchronous operation. |
![]() | Close | Closes the discovery client. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Find | Sends a request to find services that match the specified criteria. |
![]() | FindAsync(FindCriteria) | Begins an asynchronous find operation with the specified criteria. |
![]() | FindAsync(FindCriteria, Object) | Begins an asynchronous find operation with the specified criteria and user defined state object. |
![]() | FindTaskAsync(FindCriteria) | Begins an asynchronous find task operation with the specified criteria. |
![]() | FindTaskAsync(FindCriteria, CancellationToken) | Begins an asynchronous find task operation with the specified criteria and cancellation token object. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Open | Opens the DiscoveryClient. |
![]() | Resolve | Begins an asynchronous resolve operation with the specified criteria. |
![]() | ResolveAsync(ResolveCriteria) | Begins an asynchronous resolve operation with the specified criteria. |
![]() | ResolveAsync(ResolveCriteria, Object) | Begins an asynchronous resolve operation with the specified criteria and user-defined state object. |
![]() | ResolveTaskAsync(ResolveCriteria) | Begins an asynchronous resolve task operation with the specified criteria. |
![]() | ResolveTaskAsync(ResolveCriteria, CancellationToken) | Begins an asynchronous resolve task operation with the specified criteria and cancellation token. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | FindCompleted | Occurs when the entire find operation completes. |
![]() | FindProgressChanged | Occurs every time the client receives a response from a particular service. |
![]() | ProxyAvailable | Occurs when a multicast suppression message is received from a discovery proxy in response to the find or resolve operation. |
![]() | ResolveCompleted | Occurs when an asynchronous resolve operation is completed. |
| Name | Description | |
|---|---|---|
![]() ![]() | ICommunicationObject.Abort | Causes a communication object to transition immediately from its current state into the closed state. |
![]() ![]() | ICommunicationObject.BeginClose(AsyncCallback, Object) | Begins an asynchronous operation to close a communication object. |
![]() ![]() | ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) | Begins an asynchronous operation to close a communication object with a specified timeout. |
![]() ![]() | ICommunicationObject.BeginOpen(AsyncCallback, Object) | Begins an asynchronous operation to open a communication object. |
![]() ![]() | ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) | Begins an asynchronous operation to open a communication object within a specified interval of time. |
![]() ![]() | ICommunicationObject.Close() | Causes a communication object to transition from its current state into the closed state. |
![]() ![]() | ICommunicationObject.Close(TimeSpan) | Causes a communication object to transition from its current state into the closed state within a specified interval of time. |
![]() ![]() | ICommunicationObject.Closed | Occurs when the communication object completes its transition from the closing state into the closed state. |
![]() ![]() | ICommunicationObject.Closing | Occurs when the communication object first enters the closing state. |
![]() ![]() | ICommunicationObject.EndClose | Completes an asynchronous operation to close a communication object. |
![]() ![]() | ICommunicationObject.EndOpen | Completes an asynchronous operation to open a communication object. |
![]() ![]() | ICommunicationObject.Faulted | Occurs when the communication object first enters the faulted state. |
![]() ![]() | ICommunicationObject.Open() | Causes a communication object to transition from the created state into the opened state. |
![]() ![]() | ICommunicationObject.Open(TimeSpan) | Causes a communication object to transition from the created state into the opened state within a specified interval of time. |
![]() ![]() | ICommunicationObject.Opened | Occurs when the communication object completes its transition from the opening state into the opened state. |
![]() ![]() | ICommunicationObject.Opening | Occurs when the communication object first enters the opening state. |
![]() ![]() | ICommunicationObject.State | Gets the current state of the communication-oriented object. |
![]() ![]() | IDisposable.Dispose | Provides an implementation of the Dispose method. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.


