WebTestEndOfDataException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the WebTestEndOfDataException 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 WebTestEndOfDataException(
    SerializationInfo info,
    StreamingContext context
)
protected:
WebTestEndOfDataException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> WebTestEndOfDataException
protected function WebTestEndOfDataException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

This constructor is used for deserialization situations. This is required for remoting scenarios when an exception is propagated from server to the client.

.NET Framework Security

See Also

Reference

WebTestEndOfDataException Class

WebTestEndOfDataException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace