PeerResolver.Register(String, PeerNodeAddress, TimeSpan) 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.
Registers a PeerNodeAddress for a specific peer mesh.
public:
abstract System::Object ^ Register(System::String ^ meshId, System::ServiceModel::PeerNodeAddress ^ nodeAddress, TimeSpan timeout);
public abstract object Register (string meshId, System.ServiceModel.PeerNodeAddress nodeAddress, TimeSpan timeout);
abstract member Register : string * System.ServiceModel.PeerNodeAddress * TimeSpan -> obj
Public MustOverride Function Register (meshId As String, nodeAddress As PeerNodeAddress, timeout As TimeSpan) As Object
Parameters
- meshId
- String
The ID of the peer mesh in which the peer node is to be registered.
- nodeAddress
- PeerNodeAddress
The PeerNodeAddress to be registered with the peer mesh.
- timeout
- 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.
Returns
An Object that represents the registration ID. This registration ID object is passed to the Update(Object, PeerNodeAddress, TimeSpan) and Unregister(Object, TimeSpan) methods.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za