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



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

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

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

The value of this parameter can 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, inner exception, and member name.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal innerException As Exception, _
   ByVal memberName As String _
)
'Usage
 
Dim message As String
Dim innerException As Exception
Dim memberName As String
 
Dim instance As New MemberNotFoundException(message, innerException, memberName)
public MemberNotFoundException( 
   string message,
   Exception innerException,
   string memberName
)
public:
MemberNotFoundException( 
   String^ message,
   Exception^ innerException,
   String^ memberName
)

Parameters

message
The message that describes the error.

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

innerException
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

The value of this parameter can 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