PeerContact.ToXml Method

Definition

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

public:
 System::String ^ ToXml();
[System.Security.SecurityCritical]
public string ToXml ();
[<System.Security.SecurityCritical>]
member this.ToXml : unit -> string
Public Function ToXml () As String

Returns

An XML encoding of the PeerContact.

Attributes

Exceptions

Unable to complete ToXml() operation.

Applies to

See also