PeerName Methods

The PeerName type exposes the following members.

  Name Description
Public method Static member CreateFromPeerHostName Creates a new instance of the specified PeerHostName object with the specified peer host name.
Public method Static member CreateRelativePeerName Creates a new PeerName by replacing the Classifier field defined on the supplied PeerName object with the specified classifier string value.
Public method Equals(Object) Determines whether the content of this PeerName is equal to the content of another object. (Overrides Object.Equals(Object).)
Public method Equals(PeerName) Performs a case-sensitive comparison of the current PeerName and the specified peer name.
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 Overrides the GetHashCode method. (Overrides Object.GetHashCode().)
Protected method GetObjectData Populates a serialization information object with the data needed to serialize the PeerName.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string representation of the current PeerName object. (Overrides Object.ToString().)

  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Implements the ISerializable interface and returns the data needed to serialize the PeerName instance.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft