Export (0) Print
Expand All

Peer Methods

The Peer type exposes the following members.

  Name Description
Public method Dispose() Releases all resources used by the Peer object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Peer object and optionally releases the managed resources.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Equals(Peer) Performs a case-sensitive comparison of the current Peer and the specified peer.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetObjectData Populates a SerializationInfo object with the data needed to serialize the target Peer.
Public method GetObjects() Gets the collection of data objects from a local cache.
Public method GetObjects(Guid) Gets the Peer object associated with the supplied Guid from the PeerObjectCollection.
Public method GetPresenceInfo Gets the available presence information for a PeerEndPoint.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Invite() Sends an invitation to a Peer to start a specific PeerApplication.
Public method Invite(PeerApplication, String, Byte[]) Sends an invitation to a Peer to start a specific PeerApplication.
Public method InviteAsync(Object) Begins an asynchronous invitation operation which sends an invitation to a Peer to start a specific PeerApplication.
Public method InviteAsync(PeerApplication, String, Byte[], Object) Begins an asynchronous invitation operation which sends an invitation to a Peer to start a specific PeerApplication.
Public method InviteAsyncCancel Cancels the invitation that was sent with the InviteAsync method.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnInviteCompleted Raises the InviteCompleted event.
Public method ToString Returns a String representing the PeerName associated with the Peer. (Overrides Object.ToString().)
Top

  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo class instance with the data required to serialize the specified PeerObject instance. A derived type must call the base type GetObjectData method.
Top
Show:
© 2014 Microsoft