ContactManager.UpdateContact Method (PeerContact)

 

Updates the data associated with the PeerContact.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

[<SecurityCriticalAttribute>]
member UpdateContact : 
        peerContact:PeerContact -> unit

Parameters

peerContact
Type: System.Net.PeerToPeer.Collaboration.PeerContact

The PeerContact to be updated.

Exception Condition
ArgumentException
ArgumentNullException

peerContact is null.

ObjectDisposedException

This PeerContact object has been disposed.

PeerToPeerException

Unable to complete UpdateContact operation.

Calling this method requires a PermissionState of Unrestricted.

.NET Framework
Available since 3.5
Return to top
Show: