DiscoveryService.OnBeginFind Method (FindRequestContext, AsyncCallback, Object)

.NET Framework (current version)
 

Override this method to handle a find operation.

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

protected abstract IAsyncResult OnBeginFind(
	FindRequestContext findRequestContext,
	AsyncCallback callback,
	object state
)

Parameters

findRequestContext
Type: System.ServiceModel.Discovery.FindRequestContext

The find request context that describes the service to discover.

callback
Type: System.AsyncCallback

The callback delegate to call when the operation is completed.

state
Type: System.Object

The user-defined state data.

Return Value

Type: System.IAsyncResult

A reference to the pending asynchronous operation.

Find results are returned by calling the AddMatchingEndpoint method one or more times.

.NET Framework
Available since 4.0
Return to top
Show: