'Declaration
<NotNullAttribute()> Public Shared Function MakeDescriptorString( _ ByVal uriString As String, _ ByVal endpointSelectionPolicy As UAEndpointSelectionPolicy, _ ByVal unescape As Boolean _ ) As String
'Usage
Dim uriString As String Dim endpointSelectionPolicy As UAEndpointSelectionPolicy Dim unescape As Boolean Dim value As String value = UAEndpointDescriptor.MakeDescriptorString(uriString, endpointSelectionPolicy, unescape)
[NotNull()] public static string MakeDescriptorString( string uriString, UAEndpointSelectionPolicy endpointSelectionPolicy, bool unescape )
[NotNull()] public: static String^ MakeDescriptorString( String^ uriString, UAEndpointSelectionPolicy^ endpointSelectionPolicy, bool unescape )
Parameters
- uriString
- The URI string of the endpoint.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - endpointSelectionPolicy
- The endpoint selection policy of the endpoint.
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 can be
null
(Nothing
in Visual Basic). - unescape
- Whether to unescape the parts of the descriptor string (for display purposes).
Return Value
This method never returns null
(Nothing
in Visual Basic).