DiscoveryProxy.BeginShouldRedirectFind 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 allow the discovery proxy to send out multicast suppression messages when it receives a multicast find request.
protected:
virtual IAsyncResult ^ BeginShouldRedirectFind(System::ServiceModel::Discovery::FindCriteria ^ resolveCriteria, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult BeginShouldRedirectFind (System.ServiceModel.Discovery.FindCriteria resolveCriteria, AsyncCallback callback, object state);
abstract member BeginShouldRedirectFind : System.ServiceModel.Discovery.FindCriteria * AsyncCallback * obj -> IAsyncResult
override this.BeginShouldRedirectFind : System.ServiceModel.Discovery.FindCriteria * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function BeginShouldRedirectFind (resolveCriteria As FindCriteria, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- resolveCriteria
- FindCriteria
The resolve criteria that describes the service to find.
- callback
- AsyncCallback
The callback delegate to call when the operation has completed.
- state
- Object
The user-defined state data.
Returns
A reference to the pending asynchronous operation.
Remarks
Multicast suppression messages can be sent in response to a multicast find or resolve message when a discovery proxy is available. Sending unicast messages to the discovery proxy can help reduce the amount of network traffic caused by the discovery operations.
Applies to
.NET