Partager via


WebTestStoppedException, constructeur (SerializationInfo, StreamingContext)

Initialise une nouvelle instance de la classe WebTestStoppedException dans les scénarios de communication à distance.

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 WebTestStoppedException(
    SerializationInfo info,
    StreamingContext context
)
protected:
WebTestStoppedException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> WebTestStoppedException
protected function WebTestStoppedException(
    info : SerializationInfo, 
    context : StreamingContext
)

Paramètres

Exceptions

Exception Condition
ArgumentNullException

info est nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

WebTestStoppedException Classe

WebTestStoppedException, surcharge

Microsoft.VisualStudio.TestTools.WebTesting, espace de noms