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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > ExceptionEventArgs Class > ExceptionEventArgs Constructor : ExceptionEventArgs Constructor(Exception)
The exception.

The value of this parameter can 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 ExceptionEventArgs(exception)
public ExceptionEventArgs( 
   Exception exception
)
public:
ExceptionEventArgs( 
   Exception^ exception
)

Parameters

exception
The exception.

The value of this parameter can 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