DiscoveryClient Class

DiscoveryClient Class

.NET Framework (current version)
 

Allows you to discover available services.

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

System.Object
  System.ServiceModel.Discovery.DiscoveryClient

public sealed class DiscoveryClient : ICommunicationObject, IDisposable

NameDescription
System_CAPS_pubmethodDiscoveryClient()

Creates a new instance of the DiscoveryClient class.

System_CAPS_pubmethodDiscoveryClient(DiscoveryEndpoint)

Creates a new instance of the DiscoveryClient class with the specified discovery endpoint.

System_CAPS_pubmethodDiscoveryClient(String)

Creates a new instance of the DiscoveryClient class with the specified endpoint configuration.

NameDescription
System_CAPS_pubpropertyChannelFactory

Gets the channel factory for the DiscoveryClient.

System_CAPS_pubpropertyClientCredentials

Gets the client credentials for the DiscoveryClient.

System_CAPS_pubpropertyEndpoint

Gets the endpoint used to send discovery messages.

System_CAPS_pubpropertyInnerChannel

Gets the channel used to send discovery messages.

NameDescription
System_CAPS_pubmethodCancelAsync(Object)

Cancels a pending asynchronous operation.

System_CAPS_pubmethodClose()

Closes the discovery client.

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodFind(FindCriteria)

Sends a request to find services that match the specified criteria.

System_CAPS_pubmethodFindAsync(FindCriteria)

Begins an asynchronous find operation with the specified criteria.

System_CAPS_pubmethodFindAsync(FindCriteria, Object)

Begins an asynchronous find operation with the specified criteria and user defined state object.

System_CAPS_pubmethodFindTaskAsync(FindCriteria)

Begins an asynchronous find task operation with the specified criteria.

System_CAPS_pubmethodFindTaskAsync(FindCriteria, CancellationToken)

Begins an asynchronous find task operation with the specified criteria and cancellation token 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_pubmethodOpen()

Opens the DiscoveryClient.

System_CAPS_pubmethodResolve(ResolveCriteria)

Begins an asynchronous resolve operation with the specified criteria.

System_CAPS_pubmethodResolveAsync(ResolveCriteria)

Begins an asynchronous resolve operation with the specified criteria.

System_CAPS_pubmethodResolveAsync(ResolveCriteria, Object)

Begins an asynchronous resolve operation with the specified criteria and user-defined state object.

System_CAPS_pubmethodResolveTaskAsync(ResolveCriteria)

Begins an asynchronous resolve task operation with the specified criteria.

System_CAPS_pubmethodResolveTaskAsync(ResolveCriteria, CancellationToken)

Begins an asynchronous resolve task operation with the specified criteria and cancellation token.

System_CAPS_pubmethodToString()

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

NameDescription
System_CAPS_pubeventFindCompleted

Occurs when the entire find operation completes.

System_CAPS_pubeventFindProgressChanged

Occurs every time the client receives a response from a particular service.

System_CAPS_pubeventProxyAvailable

Occurs when a multicast suppression message is received from a discovery proxy in response to the find or resolve operation.

System_CAPS_pubeventResolveCompleted

Occurs when an asynchronous resolve operation is completed.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject.Closed

Occurs when the communication object completes its transition from the closing state into the closed state.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject.Closing

Occurs when the communication object first enters the closing state.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject.Faulted

Occurs when the communication object first enters the faulted state.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject.Opened

Occurs when the communication object completes its transition from the opening state into the opened state.

System_CAPS_pubinterfaceSystem_CAPS_priveventICommunicationObject.Opening

Occurs when the communication object first enters the opening state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

Provides an implementation of the M:System.IDisposible.Dispose method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.Abort()

Causes a communication object to transition immediately from its current state into the closed state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.BeginClose(AsyncCallback, Object)

Begins an asynchronous operation to close a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to close a communication object with a specified timeout.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.BeginOpen(AsyncCallback, Object)

Begins an asynchronous operation to open a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to open a communication object within a specified interval of time.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.Close()

Causes a communication object to transition from its current state into the closed state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.Close(TimeSpan)

Causes a communication object to transition from its current state into the closed state within a specified interval of time.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.EndClose(IAsyncResult)

Completes an asynchronous operation to close a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.EndOpen(IAsyncResult)

Completes an asynchronous operation to open a communication object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.Open()

Causes a communication object to transition from the created state into the opened state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICommunicationObject.Open(TimeSpan)

Causes a communication object to transition from the created state into the opened state within a specified interval of time.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICommunicationObject.State

Gets the current state of the communication-oriented object.

.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:
© 2016 Microsoft