ContactManager.UpdateContact(PeerContact) ContactManager.UpdateContact(PeerContact) ContactManager.UpdateContact(PeerContact) Method

定義

更新與 PeerContact 相關聯的資料 。Updates the data associated with the PeerContact.

public:
 void UpdateContact(System::Net::PeerToPeer::Collaboration::PeerContact ^ peerContact);
[System.Security.SecurityCritical]
public void UpdateContact (System.Net.PeerToPeer.Collaboration.PeerContact peerContact);
member this.UpdateContact : System.Net.PeerToPeer.Collaboration.PeerContact -> unit

參數

peerContact
PeerContact PeerContact PeerContact

要更新之 PeerContactThe PeerContact to be updated.

例外狀況

peerContactnullpeerContact is null.

PeerContact 物件已被處置。This PeerContact object has been disposed.

備註

呼叫這個方法需要PermissionState的。 UnrestrictedCalling this method requires a PermissionState of Unrestricted.

適用於

另請參閱