QuickOPC User's Guide and Reference
FromUAMessageSecurityModes Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAEndpointSelectionPolicy Class : FromUAMessageSecurityModes Method
Specifies which message security modes are allowed.
Converts allowed message security modes into an endpoint selection policy.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromUAMessageSecurityModes( _
   ByVal messageSecurityModes As UAMessageSecurityModes _
) As UAEndpointSelectionPolicy
'Usage
 
Dim messageSecurityModes As UAMessageSecurityModes
Dim value As UAEndpointSelectionPolicy
 
value = UAEndpointSelectionPolicy.FromUAMessageSecurityModes(messageSecurityModes)
[NotNull()]
public static UAEndpointSelectionPolicy FromUAMessageSecurityModes( 
   UAMessageSecurityModes messageSecurityModes
)
[NotNull()]
public:
static UAEndpointSelectionPolicy^ FromUAMessageSecurityModes( 
   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.
Remarks

Example values for messageSecurityModes:

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