Condividi tramite


Metodo UITestInterpreterCore.IsExpectedExceptionFromActionExecution (Exception)

 

Restituisce true se l'eccezione specificata è prevista dall'esecuzione di un'azione.

Spazio dei nomi:   Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintassi

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

Parametri

  • ex

Valore restituito

Type: System.Boolean

Vedere anche

Classe UITestInterpreterCore
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.CodeGeneration

Torna all'inizio