PeerNearMe.OnRefreshDataCompleted Method (RefreshDataCompletedEventArgs)

 

Signals the RefreshDataCompleted event.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

protected void OnRefreshDataCompleted(
	RefreshDataCompletedEventArgs e
)

Classes that inherit from this class can override this method to perform additional tasks when the RefreshDataCompleted event occurs.

This method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors:

In a derived class, be sure to call the base class’s implementation of this method so that registered delegates receive the event.

.NET Framework
Available since 3.5
Return to top
Show: