OPC Studio User's Guide and Reference
ExtendedCOMException Constructor(String,Int32,XmlQualifiedName2)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Runtime.InteropServices Namespace > ExtendedCOMException Class > ExtendedCOMException Constructor : ExtendedCOMException Constructor(String,Int32,XmlQualifiedName2)
The message that indicates the reason the exception occurred.
The error code (HRESULT) value associated with this exception.
The XML qualified name associated with this exception.
Initializes a new instance of the class with a specified message, error code and qualified name.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal errorCode As Integer, _
   ByVal qualifiedName As XmlQualifiedName2 _
)
'Usage
 
Dim message As String
Dim errorCode As Integer
Dim qualifiedName As XmlQualifiedName2
 
Dim instance As New ExtendedCOMException(message, errorCode, qualifiedName)
public ExtendedCOMException( 
   string message,
   int errorCode,
   XmlQualifiedName2 qualifiedName
)
public:
ExtendedCOMException( 
   String^ message,
   int errorCode,
   XmlQualifiedName2^ qualifiedName
)

Parameters

message
The message that indicates the reason the exception occurred.
errorCode
The error code (HRESULT) value associated with this exception.
qualifiedName
The XML qualified name associated with 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