DiscoveryProxy.OnBeginFind(FindRequestContext, AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.