PeerNameRegistration::Update Method ()
Updates the PeerNameRegistration for a node registered with a specific Cloud. Update is performed using the information specified in the properties.
Assembly: System.Net (in System.Net.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The PeerName property is set to null. |
| ObjectDisposedException |
|
| PeerToPeerException | An object that has been disposed cannot be registered. |
| ArgumentNullException | A PeerNameRecord property is set to null. |
All information registered in cloud(s) for this PeerName prior to the call is completely discarded. The new data is not combined with the existing registration. To update a PeerNameRegistration, first update the properties on this instance and then call this method.
After a PeerNameRecord is registered, the PeerName property cannot be updated. All other fields in the record may be updated.
Available since 3.5