Bewerken

Delen via


PeerNearMe.OnRefreshDataCompleted(RefreshDataCompletedEventArgs) Method

Definition

Signals the RefreshDataCompleted event.

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

Parameters

e
RefreshDataCompletedEventArgs

Event data contained in a RefreshDataCompletedEventArgs instance.

Remarks

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' implementation of this method so that registered delegates receive the event.

Applies to