QuickOPC User's Guide and Reference
DiscoveryTimeout Property (UADiscoveryParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UADiscoveryParameters Class : DiscoveryTimeout Property
A maximum time a server discovery can take (in milliseconds).
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(15000)>
<UnitAttribute("ms")>
Public Property DiscoveryTimeout As Integer
'Usage
 
Dim instance As UADiscoveryParameters
Dim value As Integer
 
instance.DiscoveryTimeout = value
 
value = instance.DiscoveryTimeout
[DataMember()]
[DefaultValue(15000)]
[Unit("ms")]
public int DiscoveryTimeout {get; set;}
[DataMember()]
[DefaultValue(15000)]
[Unit("ms")]
public:
property int DiscoveryTimeout {
   int get();
   void set (    int value);
}
Remarks

This is actually an operation timeout that is used when making server or endpoint discovery operations (such as the OPC UA FindServers and FindServersOnNetwork service calls).

In order to obtain or modify this parameter, in the default state (when OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated equals to false), access UAClientAdaptableParameters.DiscoveryParameters property of static OpcLabs.EasyOpc.UA.EasyUAClientCore.AdaptableParameters. If you have set OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated to true, you need to access UAClientAdaptableParameters.DiscoveryParameters property of OpcLabs.EasyOpc.UA.EasyUAClientCore.IsolatedParameters.

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