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 sealed class TypeInitializationException : SystemException { // Public Constructors public method TypeInitializationException( string fullTypeName, Exception innerException); // Public Instance Properties public field string TypeName{get; } // Public Instance Methods public override method void GetObjectData( // overrides Exception System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); }
Hierarchy
Object→Exception(System.Runtime.Serialization.ISerializable)→SystemException→TypeInitializationException
Get C# 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.