PeerContact.OnApplicationChanged(ApplicationChangedEventArgs) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- appChangedArgs
- 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.
In a derived class, be sure to call the base class implementation of this method so that registered delegates receive the event.
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: