O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionTypeInitializationException

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required