WrongResultTypeException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the WrongResultTypeException class by using the provide information and context.

Namespace:  Microsoft.VisualStudio.TestTools.Exceptions
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected WrongResultTypeException(
    SerializationInfo info,
    StreamingContext context
)
protected:
WrongResultTypeException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> WrongResultTypeException
protected function WrongResultTypeException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

.NET Framework Security

See Also

Reference

WrongResultTypeException Class

WrongResultTypeException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace

SerializationInfo

StreamingContext