OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (UAEndpointSelectionPolicy)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAEndpointSelectionPolicy Class : Implicit Type Conversion Operator
Specifies which message security modes are allowed.
Converts allowed message security modes into an endpoint selection policy.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal messageSecurityModes As UAMessageSecurityModes _
) As UAEndpointSelectionPolicy
'Usage
 
[CanBeNull()]
public UAEndpointSelectionPolicy operator implicit( 
   UAMessageSecurityModes messageSecurityModes
)

Parameters

messageSecurityModes
Specifies which message security modes are allowed.

Return Value

Returns the endpoint selection policy created from the allowed message security modes.

This method can return null (Nothing in Visual Basic).

Remarks

Example values for messageSecurityModes:

This operator is equivalent to FromUAMessageSecurityModes.

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