OPC Studio User's Guide and Reference
EndpointSelectionPolicy Property (UAEndpointDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEndpointDescriptor Class : EndpointSelectionPolicy Property
Determines how the UA client chooses the endpoint from the endpoints provided by the UA server.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<NullableAttribute()>
Public Property EndpointSelectionPolicy As UAEndpointSelectionPolicy
'Usage
 
Dim instance As UAEndpointDescriptor
Dim value As UAEndpointSelectionPolicy
 
instance.EndpointSelectionPolicy = value
 
value = instance.EndpointSelectionPolicy
[DefaultValue("")]
[Nullable()]
public UAEndpointSelectionPolicy EndpointSelectionPolicy {get; set;}
[DefaultValue("")]
[Nullable()]
public:
property UAEndpointSelectionPolicy^ EndpointSelectionPolicy {
   UAEndpointSelectionPolicy^ get();
   void set (    UAEndpointSelectionPolicy^ value);
}
Remarks

When null, a policy from the session parameters is used.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also