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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.