OPC Studio User's Guide and Reference
EasyAEInstanceParameters Constructor(EasyAEClientMode,EasyAEClientHoldPeriods)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.Engine Namespace > EasyAEInstanceParameters Class > EasyAEInstanceParameters Constructor : EasyAEInstanceParameters Constructor(EasyAEClientMode,EasyAEClientHoldPeriods)
Client mode to use.

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

Hold periods to use.

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

Initializes a new instance of the class, specifying client mode and hold periods.
Syntax
'Declaration
 
Public Function New( _
   ByVal clientMode As EasyAEClientMode, _
   ByVal holdPeriods As EasyAEClientHoldPeriods _
)
'Usage
 
Dim clientMode As EasyAEClientMode
Dim holdPeriods As EasyAEClientHoldPeriods
 
Dim instance As New EasyAEInstanceParameters(clientMode, holdPeriods)
public EasyAEInstanceParameters( 
   EasyAEClientMode clientMode,
   EasyAEClientHoldPeriods holdPeriods
)
public:
EasyAEInstanceParameters( 
   EasyAEClientMode^ clientMode,
   EasyAEClientHoldPeriods^ holdPeriods
)

Parameters

clientMode
Client mode to use.

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

holdPeriods
Hold periods to use.

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

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