Costruttore FailedToPerformActionOnBlockedControlException (String, String, String, Exception, ILastInvocationInfo, String, Object)
Inizializza una nuova istanza della classe FailedToPerformActionOnBlockedControlException utilizzando il messaggio, nome dell'oggetto, il nome dell'azione, l'eccezione interna, le informazioni sull'ultima chiamata, l'handle di finestra, il controllo di test dell'interfaccia utente e l'origine forniti.
Spazio dei nomi: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
message As String, _
objectName As String, _
actionName As String, _
innerException As Exception, _
lastInfo As ILastInvocationInfo, _
uiTestControl As String, _
exceptionSource As Object _
)
public FailedToPerformActionOnBlockedControlException(
string message,
string objectName,
string actionName,
Exception innerException,
ILastInvocationInfo lastInfo,
string uiTestControl,
Object exceptionSource
)
public:
FailedToPerformActionOnBlockedControlException(
String^ message,
String^ objectName,
String^ actionName,
Exception^ innerException,
ILastInvocationInfo^ lastInfo,
String^ uiTestControl,
Object^ exceptionSource
)
new :
message:string *
objectName:string *
actionName:string *
innerException:Exception *
lastInfo:ILastInvocationInfo *
uiTestControl:string *
exceptionSource:Object -> FailedToPerformActionOnBlockedControlException
public function FailedToPerformActionOnBlockedControlException(
message : String,
objectName : String,
actionName : String,
innerException : Exception,
lastInfo : ILastInvocationInfo,
uiTestControl : String,
exceptionSource : Object
)
Parametri
message
Tipo: StringMessaggio di errore.
objectName
Tipo: StringNome dell'oggetto in cui l'azione ha avuto esito negativo.
actionName
Tipo: StringNome dell'azione che ha avuto esito negativo.
innerException
Tipo: ExceptionEccezione originale che ha causato l'eccezione corrente.
lastInfo
Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfoUn oggetto ILastInvocationInfo.
uiTestControl
Tipo: StringRappresentazione sotto forma di string dell'oggetto UITestControl bloccato.
exceptionSource
Tipo: ObjectOggetto object che rappresenta l'origine dell'eccezione.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
FailedToPerformActionOnBlockedControlException Classe
Overload FailedToPerformActionOnBlockedControlException
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension