ToXml Method

PeerContact.ToXml Method ()


Serializes the PeerContact to an XML string for persistent storage or network transfer.

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

public string ToXml()

Return Value

Type: System.String

An XML encoding of the PeerContact.

Exception Condition

Unable to complete ToXml operation.

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft