Name

TypeInitializationException

Synopsis

This class provides a wrapper around an exception thrown by the .NET class initializer. The underlying exception is accessible through InnerException.

Public NotInheritable Class TypeInitializationException : Inherits SystemException
' Public Constructors
   Public Sub New(ByVal fullTypeName As String, 
        ByVal innerException As Exception) 
' Public Instance Properties
   Public ReadOnly Property TypeName 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)SystemException TypeInitializationException

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.