PeerResolver.Update Method (Object, PeerNodeAddress, TimeSpan)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Updates the PeerNodeAddress for a node registered with a specific peer mesh.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract void Update(
	object registrationId,
	PeerNodeAddress updatedNodeAddress,
	TimeSpan timeout
)

Parameters

registrationId
Type: System.Object

A registration ID token for the node, obtained by a previous call to Register

updatedNodeAddress
Type: System.ServiceModel.PeerNodeAddress

The updated endpoint address (and other multihoming IP addresses).

timeout
Type: System.TimeSpan

The length of time to wait for success before aborting the attempt to update the node's registration within the peer mesh. If the attempt fails, TimeoutException is raised on the peer.

Update is called when the address of the PeerNode changes on the local machine.

.NET Framework
Available since 3.0
Return to top
Show: