Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestException Constructor (SerializationInfo^, StreamingContext)

 

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

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

protected:
WebTestException(
	SerializationInfo^ info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

Holds the serialized object data about the exception being thrown.

context
Type: System.Runtime.Serialization::StreamingContext

Contains contextual information about the source or the destination.

Exception Condition
ArgumentNullException

info is null.

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

Return to top
Show: