Upraviť

Zdieľať cez


ObjectChangedEventArgs Class

Definition

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

public ref class ObjectChangedEventArgs : EventArgs
public class ObjectChangedEventArgs : EventArgs
type ObjectChangedEventArgs = class
    inherit EventArgs
Public Class ObjectChangedEventArgs
Inherits EventArgs
Inheritance
ObjectChangedEventArgs

Remarks

PeerObjects are run-time data items associated with an application, such as certificates, pictures, avatars, or specific descriptions. They may also be referred to as a host peer's registered applications, objects and presence information. When a PeerObject is changed, an event is raised.

Calling this method requires a PermissionState of Unrestricted. This state is created when the System.Net.PeerToPeer.Collaboration session begins.

Properties

PeerChangeType

Gets the PeerChangeType that specifies the type of change that has occurred to a Peer or PeerObject.

PeerContact

Gets the PeerContact associated with the PeerEndPoint for which object information has changed.

PeerEndPoint

Gets the PeerEndPoint for which object information has changed.

PeerObject

Gets the PeerObject that has been added, deleted or updated.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also