'DeclarationPublic Function DemandsPreselection( _ ByVal effectiveEndpointSelectionPolicy As UAEndpointSelectionPolicy, _ ByVal effectiveUserIdentityInfo As UserIdentityInfo _ ) As Boolean
'UsageDim instance As UAEndpointDescriptor Dim effectiveEndpointSelectionPolicy As UAEndpointSelectionPolicy Dim effectiveUserIdentityInfo As UserIdentityInfo Dim value As Boolean value = instance.DemandsPreselection(effectiveEndpointSelectionPolicy, effectiveUserIdentityInfo)
public bool DemandsPreselection( UAEndpointSelectionPolicy effectiveEndpointSelectionPolicy, UserIdentityInfo effectiveUserIdentityInfo )
public: bool DemandsPreselection( UAEndpointSelectionPolicy^ effectiveEndpointSelectionPolicy, UserIdentityInfo^ effectiveUserIdentityInfo )
Parameters
- effectiveEndpointSelectionPolicy
- The effective endpoint selection policy to evaluate.
Because the OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy has an implicit conversion from OpcLabs.EasyOpc.UA.Engine.UAMessageSecurityModes, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a OpcLabs.EasyOpc.UA.Engine.UAMessageSecurityModes in place of this parameter, and the corresponding OPC UA endpoint selection policy will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy.UAEndpointSelectionPolicy Constructor(UAMessageSecurityModes) constructor instead.
The value of this parameter cannot be
null(Nothingin Visual Basic). - effectiveUserIdentityInfo
- The effective user identity information to evaluate.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
true if preselection is required to obtain missing endpoint information (such as precise security settings or server certificate); otherwise, false.