UITestInterpreter.IsExpectedExceptionFromActionExecution Method (Exception)

 

Returns true if the given exception is expected from the execution of an action.

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

Syntax

protected internal override bool IsExpectedExceptionFromActionExecution(
    Exception ex
)
public protected:
virtual bool IsExpectedExceptionFromActionExecution(
    Exception^ ex
) override
override IsExpectedExceptionFromActionExecution : 
        ex:Exception -> bool
Protected Friend Overrides Function IsExpectedExceptionFromActionExecution (
    ex As Exception
) As Boolean

Parameters

Return Value

Type: System.Boolean

See Also

UITestInterpreter Class
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

Return to top