UITestControlNotAvailableException-Konstruktor (String, Object)
Initialisiert eine neue Instanz der UITestControlNotAvailableException-Klasse mithilfe des bereitgestellten Benutzeroberflächen-Steuerelements und der Quelle der Ausnahme.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Sub New ( _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotAvailableException(
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotAvailableException(
String^ uiTestControl,
Object^ exceptionSource
)
new :
uiTestControl:string *
exceptionSource:Object -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
uiTestControl : String,
exceptionSource : Object
)
Parameter
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
UITestControlNotAvailableException Klasse
UITestControlNotAvailableException-Überladung