ContactManager.UpdateContact(PeerContact) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
[<System.Security.SecurityCritical>]
member this.UpdateContact : System.Net.PeerToPeer.Collaboration.PeerContact -> unit
Public Sub UpdateContact (peerContact As PeerContact)
Parameters
- peerContact
- PeerContact
The PeerContact to be updated.
- Attributes
Exceptions
- PeerContact not found in ContactManager.
peerContact
is null
.
This PeerContact object has been disposed.
Unable to complete UpdateContact(PeerContact) operation.
Remarks
Calling this method requires a PermissionState of Unrestricted.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.