Export (0) Print
Expand All

TypeInitializationException Members

The exception that is thrown as a wrapper around the exception thrown by the class initializer. This class cannot be inherited.

The following tables list the members exposed by the TypeInitializationException type.

  Name Description
Public method TypeInitializationException Initializes a new instance of the TypeInitializationException class with the default error message, the specified type name, and a reference to the inner exception that is the root cause of this exception.
Top

  Name Description
Public property Data  Gets a collection of key/value pairs that provide additional user-defined information about the exception.(inherited from Exception)
Public property HelpLink  Gets or sets a link to the help file associated with this exception.(inherited from Exception)
Public property InnerException  Gets the Exception instance that caused the current exception.(inherited from Exception)
Public property Message  Gets a message that describes the current exception.(inherited from Exception)
Public property Source  Gets or sets the name of the application or the object that causes the error.(inherited from Exception)
Public property StackTrace  Gets a string representation of the frames on the call stack at the time the current exception was thrown.(inherited from Exception)
Public property TargetSite  Gets the method that throws the current exception.(inherited from Exception)
Public property TypeName Gets the fully qualified name of the type that fails to initialize.
Top

  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetBaseException  When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetObjectData Overridden. Sets the SerializationInfo object with the type name and additional exception information.
Public method GetType  Gets the runtime type of the current instance. (inherited from Exception)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Creates and returns a string representation of the current exception. (inherited from Exception)
Top

Community Additions

ADD
Show:
© 2014 Microsoft