UITestControlNotFoundException-Konstruktor (String, Exception, String, Object)
Initialisiert eine neue Instanz der UITestControlNotFoundException-Klasse mithilfe der bereitgestellten Fehlermeldung, der inneren Ausnahme, des Benutzeroberflächen-Teststeuerelements und der Quelle.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception, _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotFoundException(
string message,
Exception innerException,
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotFoundException(
String^ message,
Exception^ innerException,
String^ uiTestControl,
Object^ exceptionSource
)
new :
message:string *
innerException:Exception *
uiTestControl:string *
exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
message : String,
innerException : Exception,
uiTestControl : String,
exceptionSource : Object
)
Parameter
message
Typ: StringDie Fehlermeldung.
innerException
Typ: ExceptionDie ursprüngliche Ausnahme, die die aktuelle Ausnahme ausgelöst hat.
uiTestControl
Typ: StringEine Zeichenfolgendarstellung des UITestControl, das blockiert wird.
exceptionSource
Typ: ObjectDas object, das die Quelle der Ausnahme ist.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
UITestControlNotFoundException Klasse
UITestControlNotFoundException-Überladung