ValidationFailedException Constructor (String, Exception)

Initializes a new instance of the ValidationFailedException class by using the provided message and inner exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public ValidationFailedException(
    string message,
    Exception innerException
)
public:
ValidationFailedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ValidationFailedException
public function ValidationFailedException(
    message : String, 
    innerException : Exception
)

Parameters

  • innerException
    Type: System.Exception
    The inner exception that caused this exception.

.NET Framework Security

See Also

Reference

ValidationFailedException Class

ValidationFailedException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace