DiscoveryService.OnBeginFind 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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈