Edit

Kongsi melalui


PeerContact.OnApplicationChanged(ApplicationChangedEventArgs) Method

Definition

Raises the ApplicationChanged event.

protected:
 virtual void OnApplicationChanged(System::Net::PeerToPeer::Collaboration::ApplicationChangedEventArgs ^ appChangedArgs);
protected virtual void OnApplicationChanged (System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs appChangedArgs);
abstract member OnApplicationChanged : System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs -> unit
override this.OnApplicationChanged : System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs -> unit
Protected Overridable Sub OnApplicationChanged (appChangedArgs As ApplicationChangedEventArgs)

Parameters

appChangedArgs
ApplicationChangedEventArgs

The ApplicationChangedEventArgs object to be passed to delegates associated with the ApplicationChanged event.

Remarks

Application changes occur when an application is launched, registered or unregistered from the collaboration infrastructure. They also occur when peers join or leave a collaboration session or change network endpoint locations. Peer scope changes may also effect a change in an application.

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

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

See also