OPC Studio User's Guide and Reference
UALocalEndpointDiscoveryQuery Constructor(String,Boolean)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UALocalEndpointDiscoveryQuery Class > UALocalEndpointDiscoveryQuery Constructor : UALocalEndpointDiscoveryQuery Constructor(String,Boolean)
The discovery endpoint URL of the server.

The value of this parameter cannot be null (Nothing in Visual Basic).

Determines whether only endpoints with the same URL scheme will be returned.
Initializes a new instance of the class, specifying the discovery URI string, and whether the discovery URI schemes must match.
Syntax
'Declaration
 
Public Function New( _
   ByVal discoveryUriString As String, _
   ByVal matchDiscoveryUriSchemes As Boolean _
)
'Usage
 
Dim discoveryUriString As String
Dim matchDiscoveryUriSchemes As Boolean
 
Dim instance As New UALocalEndpointDiscoveryQuery(discoveryUriString, matchDiscoveryUriSchemes)
public UALocalEndpointDiscoveryQuery( 
   string discoveryUriString,
   bool matchDiscoveryUriSchemes
)
public:
UALocalEndpointDiscoveryQuery( 
   String^ discoveryUriString,
   bool matchDiscoveryUriSchemes
)

Parameters

discoveryUriString
The discovery endpoint URL of the server.

The value of this parameter cannot be null (Nothing in Visual Basic).

matchDiscoveryUriSchemes
Determines whether only endpoints with the same URL scheme will be returned.
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