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.61.224.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._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.61.224.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._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.61.224.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._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.EasyUAClient.Isolated equals to false), access UAClientSessionParameters.EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of static OpcLabs.EasyOpc.UA.EasyUAClient.AdaptableParameters. If you have set OpcLabs.EasyOpc.UA.EasyUAClient.Isolated to true, you need to access UAClientSessionParameters.EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of OpcLabs.EasyOpc.UA.EasyUAClient.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.Info
      OpcLabs.BaseLib.Parameters
         OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy

Requirements

Target Platforms: .NET Framework: Windows 10, Windows Server 2012; .NET Core: Linux, macOS, Microsoft Windows

See Also

Reference

UAEndpointSelectionPolicy Members
OpcLabs.EasyOpc.UA.Engine Namespace