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)

[SecurityCriticalAttribute]
public string ToXml()

Return Value

Type: System.String

An XML encoding of the PeerContact.

Exception Condition
PeerToPeerException

Unable to complete ToXml operation.

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