PeerNameRegistration.Update 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 PeerNameRegistration for a node registered with a specific Cloud. Update is performed using the information specified in the properties.
public:
void Update();
[System.Security.SecurityCritical]
public void Update ();
[<System.Security.SecurityCritical>]
member this.Update : unit -> unit
Public Sub Update ()
- Attributes
Exceptions
The PeerName property is set to null
.
The PeerName property has not yet been registered. The Update() method cannot be called until the peer name specified in the PeerName property is registered in one or more clouds.
The peer name specified in the PeerName property has changed since the corresponding PeerNameRecord was registered.
An object that has been disposed cannot be registered.
A PeerNameRecord property is set to null
.
Remarks
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.