Partager via


WebTestEmptyTableException, constructeur (SerializationInfo, StreamingContext)

Initialise une nouvelle instance de la classe WebTestEmptyTableException avec des données sérialisées.

Espace de noms :  Microsoft.VisualStudio.TestTools.WebTesting
Assembly :  Microsoft.VisualStudio.QualityTools.WebTestFramework (dans Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntaxe

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

Paramètres

  • info
    Type : SerializationInfo

    SerializationInfo qui contient les données d'objet sérialisées concernant l'exception levée.

  • context
    Type : StreamingContext

    StreamingContext qui contient des informations contextuelles sur la source ou la destination.

Notes

Ce constructeur est appelé lors de la désérialisation afin de reconstituer l'objet exception transmis sur un flux. Pour plus d'informations, consultez Sérialisation XML et SOAP.

Sécurité .NET Framework

Voir aussi

Référence

WebTestEmptyTableException Classe

WebTestEmptyTableException, surcharge

Microsoft.VisualStudio.TestTools.WebTesting, espace de noms