QuickOPC User's Guide and Reference
AEEventType Constructor(AEEventTypes)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventType Class > AEEventType Constructor : AEEventType Constructor(AEEventTypes)
Combination of enumerated values to be converted.
Initializes a new instance of the AEEventType class.Initializes a new instance of the class, with value specified as a combination of enumerated values.
Syntax
'Declaration
 
Public Function New( _
   ByVal internalValue As AEEventTypes _
)
'Usage
 
Dim internalValue As AEEventTypes
 
Dim instance As New AEEventType(internalValue)
public AEEventType( 
   AEEventTypes internalValue
)
public:
AEEventType( 
   AEEventTypes internalValue
)

Parameters

internalValue
Combination of enumerated values to be converted.
Exceptions
ExceptionDescription

An invalid enumeration value was used.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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