ApplicationChangedEventArgs Class

 
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.

Provides qualifying information to a callback method when a ApplicationChanged event occurs.

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

System::Object
  System::EventArgs
    System.Net.PeerToPeer.Collaboration::ApplicationChangedEventArgs

public ref class ApplicationChangedEventArgs : EventArgs

NameDescription
System_CAPS_pubpropertyPeerApplication

Gets the PeerApplication for which the event was raised.

System_CAPS_pubpropertyPeerChangeType

Gets the type of change to the PeerApplication that occurred.

System_CAPS_pubpropertyPeerContact

Gets the PeerContact associated with the PeerApplication.

System_CAPS_pubpropertyPeerEndPoint

Gets the endpoint for which PeerApplication information has changed.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

An ApplicationChanged event is raised when:

  • A peer starts an application within a collaboration

  • A peer ends an application within a collaboration

  • The PeerContact object that represents a collaborating peer has a change in its properties, such as the associated Nickname

  • The scope of the application is changed on that peer contact's computer

  • A peer moves to a different IP address on the network

Every class that uses the ApplicationChangedEventArgs class requires a PermissionState of Unrestricted. This state is created when the PeerCollaboration object is constructed.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: