다음을 통해 공유


FailedToInstantiateTypeException Class

Definition

The exception that is thrown when the type does not instantiate. This is used by the XmlReader.

public ref class FailedToInstantiateTypeException : Microsoft::VisualStudio::TestTools::Exceptions::EqtDataException
[System.Serializable]
public class FailedToInstantiateTypeException : Microsoft.VisualStudio.TestTools.Exceptions.EqtDataException
[<System.Serializable>]
type FailedToInstantiateTypeException = class
    inherit EqtDataException
Public Class FailedToInstantiateTypeException
Inherits EqtDataException
Inheritance
FailedToInstantiateTypeException
Attributes

Constructors

FailedToInstantiateTypeException()

Initializes a new instance of the FailedToInstantiateTypeException class.

FailedToInstantiateTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the FailedToInstantiateTypeException class by using the provided information and context.

FailedToInstantiateTypeException(String, Exception)

Initializes a new instance of the FailedToInstantiateTypeException class by using the provided message and the inner exception.

FailedToInstantiateTypeException(String)

Initializes a new instance of the FailedToInstantiateTypeException class by using the provided message.

Properties

Message

Gets the message that states the exception.

(Inherited from EqtException)
Type

Gets the type that did not instantiate.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializes the private fields.

Applies to