OPC Studio User's Guide and Reference
ExtendedCOMException Constructor(COMException)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Runtime.InteropServices Namespace > ExtendedCOMException Class > ExtendedCOMException Constructor : ExtendedCOMException Constructor(COMException)
The COM exception to use as a template.

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

Initializes a new instance of the class from a System.Runtime.InteropServices.COMException.
Syntax
'Declaration
 
Public Function New( _
   ByVal comException As COMException _
)
'Usage
 
Dim comException As COMException
 
Dim instance As New ExtendedCOMException(comException)
public ExtendedCOMException( 
   COMException comException
)
public:
ExtendedCOMException( 
   COMException^ comException
)

Parameters

comException
The COM exception to use as a template.

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