QuickOPC User's Guide and Reference
UAEndpointSelectionPolicy Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace : UAEndpointSelectionPolicy Class
Determines how the UA client chooses the endpoint from the endpoints provided by the UA server.
Object Model
UAEndpointSelectionPolicy ClassCommunicationSecurityRanking StructureCommunicationSecurityRanking StructureUAEndpointSelectionPolicy ClassUAEndpointSelectionPolicy ClassUAEndpointSelectionPolicy ClassUAEndpointSelectionPolicy ClassUAEndpointSelectionPolicy ClassUAEndpointSelectionPolicy ClassUAEndpointSelectionPolicy ClassCommunicationSecurityRanking StructureCommunicationSecurityRanking Structure
Syntax
'Declaration
 
<ComDefaultInterfaceAttribute(OpcLabs.EasyOpc.UA.Engine.ComTypes._UAEndpointSelectionPolicy)>
<ComVisibleAttribute(True)>
<GuidAttribute("ED7D4313-690E-4241-B95D-754FD7D283FF")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<ValueControlAttribute("OpcLabs.EasyOpc.UA.Forms.Implementation.UAEndpointSelectionPolicyBasicControl, OpcLabs.EasyOpcForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", PageId=100)>
<CLSCompliantAttribute(True)>
<SerializableAttribute()>
Public NotInheritable Class UAEndpointSelectionPolicy 
   Inherits OpcLabs.BaseLib.Parameters
   Implements LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.BaseLib.ComTypes._Parameters, OpcLabs.EasyOpc.UA.Engine.ComTypes._UAEndpointSelectionPolicy, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As UAEndpointSelectionPolicy
[ComDefaultInterface(OpcLabs.EasyOpc.UA.Engine.ComTypes._UAEndpointSelectionPolicy)]
[ComVisible(true)]
[Guid("ED7D4313-690E-4241-B95D-754FD7D283FF")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[ValueControl("OpcLabs.EasyOpc.UA.Forms.Implementation.UAEndpointSelectionPolicyBasicControl, OpcLabs.EasyOpcForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", PageId=100)]
[CLSCompliant(true)]
[Serializable()]
public sealed class UAEndpointSelectionPolicy : OpcLabs.BaseLib.Parameters, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.BaseLib.ComTypes._Parameters, OpcLabs.EasyOpc.UA.Engine.ComTypes._UAEndpointSelectionPolicy, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[ComDefaultInterface(OpcLabs.EasyOpc.UA.Engine.ComTypes._UAEndpointSelectionPolicy)]
[ComVisible(true)]
[Guid("ED7D4313-690E-4241-B95D-754FD7D283FF")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[ValueControl("OpcLabs.EasyOpc.UA.Forms.Implementation.UAEndpointSelectionPolicyBasicControl, OpcLabs.EasyOpcForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", PageId=100)]
[CLSCompliant(true)]
[Serializable()]
public ref class UAEndpointSelectionPolicy sealed : public OpcLabs.BaseLib.Parameters, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.BaseLib.ComTypes._Parameters, OpcLabs.EasyOpc.UA.Engine.ComTypes._UAEndpointSelectionPolicy, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
Remarks

In order to obtain or modify these parameters, in the default state (when OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated equals to false), access UAClientSessionParameters.EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of static OpcLabs.EasyOpc.UA.EasyUAClientCore.AdaptableParameters. If you have set OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated to true, you need to access UAClientSessionParameters.EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of OpcLabs.EasyOpc.UA.EasyUAClientCore.IsolatedParameters.

Alternatively, you can override the endpoint selection policy for a specific endpoint by setting it to a non-null value in OpcLabs.EasyOpc.UA.UAEndpointDescriptor.EndpointSelectionPolicy.

Inheritance Hierarchy

System.Object
   OpcLabs.BaseLib.Object2
      OpcLabs.BaseLib.Info
         OpcLabs.BaseLib.Parameters
            OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy

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