PeerContact.OnApplicationChanged Method (ApplicationChangedEventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the ApplicationChanged event.

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

protected virtual void OnApplicationChanged(
	ApplicationChangedEventArgs appChangedArgs
)

Parameters

appChangedArgs
Type: System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs

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

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.

.NET Framework
Available since 3.5
Return to top
Show: