PeerContact.FromXml(String) メソッド

定義

指定された XML データに基づいて PeerContact インスタンスを作成します。

public:
 static System::Net::PeerToPeer::Collaboration::PeerContact ^ FromXml(System::String ^ peerContactXml);
[System.Security.SecurityCritical]
public static System.Net.PeerToPeer.Collaboration.PeerContact FromXml (string peerContactXml);
[<System.Security.SecurityCritical>]
static member FromXml : string -> System.Net.PeerToPeer.Collaboration.PeerContact
Public Shared Function FromXml (peerContactXml As String) As PeerContact

パラメーター

peerContactXml
String

PeerContact の再構築に使用する XML エンコーディング。

戻り値

PeerContact インスタンスをエンコーディングするための XML オブジェクト モデルを表す文字列。

属性

例外

パラメーターには null を使用できません。

注釈

パラメーターとして渡す文字列は、 から ToXml取得する必要があります。

このクラスは、コラボレーション インフラストラクチャ内で使用するための単純な XML オブジェクト モデルの軽量実装であり、一般的な XML オブジェクト モデルとして使用されるものではありません。

適用対象