OPC Studio User's Guide and Reference
FailureEventArgs Constructor(Exception)



View with Navigation Tools
OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > FailureEventArgs Class > FailureEventArgs Constructor : FailureEventArgs Constructor(Exception)
The exception.

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

Initializes a new instance of the class with given exception.
Syntax
'Declaration
 
Public Function New( _
   ByVal exception As Exception _
)
 
'Usage
 
Dim exception As Exception
 
Dim instance As New FailureEventArgs(exception)

Parameters

exception
The exception.

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