Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- ex
Type: System.Exception
Return Value
Type: System.Boolean
See Also
UITestInterpreter Class
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace
Return to top