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 : SerializationInfoSerializationInfo qui contient les données d'objet sérialisées concernant l'exception levée.
context
Type : StreamingContextStreamingContext 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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
WebTestEmptyTableException Classe