Register Method
Collapse the table of content
Expand the table of content

PeerResolver.Register Method (String, PeerNodeAddress, TimeSpan)

 

Registers a PeerNodeAddress for a specific peer mesh.

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

public abstract object Register(
	string meshId,
	PeerNodeAddress nodeAddress,
	TimeSpan timeout
)

Parameters

meshId
Type: System.String

The ID of the peer mesh in which the peer node is to be registered.

nodeAddress
Type: System.ServiceModel.PeerNodeAddress

The PeerNodeAddress to be registered with the peer mesh.

timeout
Type: System.TimeSpan

The length of time to wait for success before aborting the attempt to register with the peer mesh. If the attempt fails, TimeoutException is raised on the peer.

Return Value

Type: System.Object

An Object that represents the registration ID. This registration ID object is passed to the Update and Unregister methods.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft