ValidationFailedException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the ValidationFailedException class by using the serialization information and context.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

ValidationFailedException Class

ValidationFailedException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

SerializationInfo

StreamingContext