OPC Studio User's Guide and Reference
SimulatedCOMException Constructor(String)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Runtime.InteropServices Namespace > SimulatedCOMException Class > SimulatedCOMException Constructor : SimulatedCOMException Constructor(String)
The message that indicates the reason for the exception.

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

Initializes a new instance of the class with a specified message.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String _
)
'Usage
 
Dim message As String
 
Dim instance As New SimulatedCOMException(message)
public SimulatedCOMException( 
   string message
)
public:
SimulatedCOMException( 
   String^ message
)

Parameters

message
The message that indicates the reason for 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