Editar

Compartilhar via


DiscoveryProxy.OnBeginFind(FindRequestContext, AsyncCallback, Object) Method

Definition

Override this method to handle a find operation.

protected:
 abstract IAsyncResult ^ OnBeginFind(System::ServiceModel::Discovery::FindRequestContext ^ findRequestContext, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginFind (System.ServiceModel.Discovery.FindRequestContext findRequestContext, AsyncCallback callback, object state);
abstract member OnBeginFind : System.ServiceModel.Discovery.FindRequestContext * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginFind (findRequestContext As FindRequestContext, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

findRequestContext
FindRequestContext

The find request context that describes the service to discover.

callback
AsyncCallback

The callback delegate to call when the operation is completed.

state
Object

The user-defined state data.

Returns

A reference to the pending asynchronous operation.

Remarks

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

Applies to