QuickOPC User's Guide and Reference
FailureEventArgs Constructor(Exception)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > FailureEventArgs Class > FailureEventArgs Constructor : FailureEventArgs Constructor(Exception)
The exception.
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)
public FailureEventArgs( 
   Exception exception
)
public:
FailureEventArgs( 
   Exception^ exception
)

Parameters

exception
The 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