Condividi tramite


Metodo UITestInterpreter.IsExpectedExceptionFromActionExecution

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

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

Tipo: System.Boolean

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestInterpreter Classe

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