UITestControlNotFoundException-Konstruktor (String, String, Object)
Initialisiert eine neue Instanz der UITestControlNotFoundException-Klasse mithilfe der bereitgestellten Fehlermeldung, des Steuerelements zum Testen der Benutzeroberfläche sowie 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, _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotFoundException(
string message,
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotFoundException(
String^ message,
String^ uiTestControl,
Object^ exceptionSource
)
new :
message:string *
uiTestControl:string *
exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
message : String,
uiTestControl : String,
exceptionSource : Object
)
Parameter
- message
Typ: System.String
Die Fehlermeldung.
- uiTestControl
Typ: System.String
Eine Zeichenfolgendarstellung des blockierten UITestControl.
- exceptionSource
Typ: System.Object
Das 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