QuickOPC User's Guide and Reference
OperationTimeout Property (UAClientSessionParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAClientSessionParameters Class : OperationTimeout Property
Timeout used when sending requests (in milliseconds).
Syntax
'Declaration
 
<DefaultValueAttribute(120000)>
<UnitAttribute("ms")>
Public Property OperationTimeout As Integer
'Usage
 
Dim instance As UAClientSessionParameters
Dim value As Integer
 
instance.OperationTimeout = value
 
value = instance.OperationTimeout
[DefaultValue(120000)]
[Unit("ms")]
public int OperationTimeout {get; set;}
[DefaultValue(120000)]
[Unit("ms")]
public:
property int OperationTimeout {
   int get();
   void set (    int value);
}
Remarks

This parameter is not interpreted by the component; it is simply passed down to the OPC UA Stack for processing. It determines how long the stack waits for a response after sending a request.

This parameter controls the operation timeout for majority of OPC UA operations. Some operations (such as endpoint selection, or closing the session) may use a different value for their operation timeout, controlled by a different parameter.

In order to obtain or modify this parameter, in the default state (when OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated equals to false), access UAClientAdaptableParameters.SessionParameters property of static OpcLabs.EasyOpc.UA.EasyUAClientCore.AdaptableParameters. If you have set OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated to true, you need to access UAClientAdaptableParameters.SessionParameters 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