Bewerken

Share via


PeerNameResolver.OnResolveProgressChanged Method

Definition

Returns peer resolution progress data when the ResolveProgressChanged event is raised.

protected:
 void OnResolveProgressChanged(System::Net::PeerToPeer::ResolveProgressChangedEventArgs ^ e);
protected void OnResolveProgressChanged (System.Net.PeerToPeer.ResolveProgressChangedEventArgs e);
member this.OnResolveProgressChanged : System.Net.PeerToPeer.ResolveProgressChangedEventArgs -> unit
Protected Sub OnResolveProgressChanged (e As ResolveProgressChangedEventArgs)

Parameters

e
ResolveProgressChangedEventArgs

ResolveProgressChangedEventArgs object that contains peer name resolution progress information returned by the ResolveProgressChanged event.

Remarks

This method is an asynchronous callback used to process peer resolution data after peer resolution progress has been requested.

Derived types can override this method to perform additional tasks when the ResolveProgressChanged event occurs.

Notes to Inheritors

When overriding this method in a derived type, be sure to call the base type's OnResolveProgressChanged(ResolveProgressChangedEventArgs) method so that registered delegates receive the event.

Applies to