WebTestStoppedException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the WebTestStoppedException class for remoting scenarios.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
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
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

info is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

WebTestStoppedException Class

WebTestStoppedException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace