OPC Studio User's Guide and Reference
CustomException Constructor(String,Exception)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Portable Namespace > CustomException Class > CustomException Constructor : CustomException Constructor(String,Exception)
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal innerException As Exception _
)
'Usage
 
Dim message As String
Dim innerException As Exception
 
Dim instance As New CustomException(message, innerException)
public CustomException( 
   string message,
   Exception innerException
)
public:
CustomException( 
   String^ message,
   Exception^ innerException
)

Parameters

message
innerException
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