FailedToInstantiateTypeException Class

Definition

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

C++
public ref class FailedToInstantiateTypeException : Microsoft::VisualStudio::TestTools::Exceptions::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

Applies to

製品 バージョン
Visual Studio SDK 2017, 2019, 2022