Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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