Partilhar via


Construtor FailedToInstantiateTypeException (SerializationInfo, StreamingContext)

Inicializa uma nova instância de FailedToInstantiateTypeException classe usando as informações fornecidas e o contexto.

Namespace:  Microsoft.VisualStudio.TestTools.Exceptions
Assembly:  Microsoft.VisualStudio.QualityTools.Common (em Microsoft.VisualStudio.QualityTools.Common.dll)

Sintaxe

'Declaração
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected FailedToInstantiateTypeException(
    SerializationInfo info,
    StreamingContext context
)
protected:
FailedToInstantiateTypeException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> FailedToInstantiateTypeException
protected function FailedToInstantiateTypeException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

FailedToInstantiateTypeException Classe

Sobrecargas FailedToInstantiateTypeException

Namespace Microsoft.VisualStudio.TestTools.Exceptions

SerializationInfo

StreamingContext