Name

MissingMemberException

Synopsis

This is the superclass of several exceptions that indicate an attempt to access a nonexistent member. Although the compiler detects explicit attempts of this sort, it does not protect against attempts to access nonexistent members using reflection.

Public Class MissingMemberException : Inherits MemberAccessException
' Public Constructors
   Public Sub New() 
   Public Sub New( ByVal message As String) 
   Public Sub New(ByVal message As String, 
        ByVal inner As Exception) 
   Public Sub New(ByVal className As String, 
        ByVal memberName As String) 
' Protected Constructors
   Protected Sub New(
        ByVal info As System.Runtime.Serialization.SerializationInfo, 
        ByVal context As System.Runtime.Serialization.StreamingContext) 
' Protected Instance Fields
   protected ClassName As String  
   protected MemberName As String  
   protected Signature As Byte()  
' Public Instance Properties
   Overrides Public ReadOnly Property Message As String  
' Public Instance Methods
   Overrides Public Sub GetObjectData(
        ByVal info As System.Runtime.Serialization.SerializationInfo, 
        ByVal context As System.Runtime.Serialization.StreamingContext) 
End Class

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionMemberAccessException MissingMemberException

Subclasses

MissingFieldException, MissingMethodException

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.