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
'Declaration
Protected Friend Overrides Function IsExpectedExceptionFromActionExecution ( _
ex As Exception _
) As Boolean
protected internal override bool IsExpectedExceptionFromActionExecution(
Exception ex
)
protected public:
virtual bool IsExpectedExceptionFromActionExecution(
Exception^ ex
) override
abstract IsExpectedExceptionFromActionExecution :
ex:Exception -> bool
override IsExpectedExceptionFromActionExecution :
ex:Exception -> bool
override function IsExpectedExceptionFromActionExecution(
ex : Exception
) : boolean
Parameters
- ex
Type: Exception
Return Value
Type: Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace