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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > MemberNotFoundException Class > MemberNotFoundException Constructor : MemberNotFoundException Constructor(String,String)
The message that describes the error.

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

The name of the member that has not been found.

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

Initializes a new instance of the class, specifying the message and member name.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal memberName As String _
)
'Usage
 
Dim message As String
Dim memberName As String
 
Dim instance As New MemberNotFoundException(message, memberName)
public MemberNotFoundException( 
   string message,
   string memberName
)
public:
MemberNotFoundException( 
   String^ message,
   String^ memberName
)

Parameters

message
The message that describes the error.

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

memberName
The name of the member that has not been found.

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