PeerNameRegistration.UseAutoEndPointSelection Property
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.
Gets or sets a value that specifies whether to use automatic endpoint selection when traversing a peer mesh or Cloud.
public:
property bool UseAutoEndPointSelection { bool get(); void set(bool value); };
public bool UseAutoEndPointSelection { get; set; }
member this.UseAutoEndPointSelection : bool with get, set
Public Property UseAutoEndPointSelection As Boolean
Property Value
true
if automatic endpoint selection is to be used; false
if some other method will be used to determine an endpoint. The default value is true
.
Remarks
When auto endpoint selection is used (this property is set to true
) with no endpoint information specified prior to the start of a PeerNameRegistration, the system chooses individual endpoints and publishes them with the associated peer name into all available clouds. If the port is not specified, auto selection chooses zero as the Port.
When set to false
, auto selection as described above is not performed. This enables the registration process to publish a peer name along with a data blob (as specified by the Data property). No endpoints are associated with the name.
If a registration method is used that automatically selects the addresses to register, there is no method to determine what addresses for which the PeerName object was registered. That is, the EndPointCollection property will not be updated to reflect the addresses selected.
Updating this property after peer name registration has started has no effect.