NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeInitializationException Class

Represents the exception thrown when type's class initializer throws an exception.

Object
   Exception
      SystemException
         TypeInitializationException

[Visual Basic]
NotInheritable Public Class TypeInitializationException
   Inherits SystemException
[C#]
public sealed class TypeInitializationException : SystemException
[C++]
public __gc __sealed class TypeInitializationException : public
   SystemException
[JScript]
public class TypeInitializationException extends SystemException

Remarks

The TypeInitializationException class represents the exception that is thrown when the type's class initializer (.cctor) throws an exception.

When it is created, it is passed a reference to the exception thrown by the type's initializer.

The InnerException property holds the underlying exception.

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

TypeInitializationException Members | System Namespace