PeerContact::FromXml Method (String^)
.NET Framework (current version)
Creates a PeerContact instance based on provided XML data.
Assembly: System.Net (in System.Net.dll)
Parameters
- peerContactXml
-
Type:
System::String^
The XML encoding used to reconstruct the PeerContact.
Return Value
Type: System.Net.PeerToPeer.Collaboration::PeerContact^A string that represents the XML object model for encoding the PeerContact instance.
| Exception | Condition |
|---|---|
| ArgumentNullException | Parameter cannot be null. |
| PeerToPeerException |
|
The string to pass as the parameter should be obtained from ToXml.
This class is intended to be a lightweight implementation of a simple XML object model for use within the collaboration infrastructure, and not for use as a general XML object model.
.NET Framework
Available since 3.5
Available since 3.5
Show: