Partager via


WrongResultTypeException, constructeur (SerializationInfo, StreamingContext)

Initialise une nouvelle instance de la classe WrongResultTypeException à l'aide des informations et du contexte fournis.

Espace de noms :  Microsoft.VisualStudio.TestTools.Exceptions
Assembly :  Microsoft.VisualStudio.QualityTools.Common (dans Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Déclaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected WrongResultTypeException(
    SerializationInfo info,
    StreamingContext context
)
protected:
WrongResultTypeException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> WrongResultTypeException
protected function WrongResultTypeException(
    info : SerializationInfo, 
    context : StreamingContext
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

WrongResultTypeException Classe

WrongResultTypeException, surcharge

Microsoft.VisualStudio.TestTools.Exceptions, espace de noms

SerializationInfo

StreamingContext