Share via


UITestInterpreterCore.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.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

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

Parameters

Return Value

Type: System.Boolean

See Also

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

Return to top