UITestControlNotAvailableException-Konstruktor (String, Exception, String, Object)
Initialisiert eine neue Instanz der UITestControlNotAvailableException-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, _
innerException As Exception, _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotAvailableException(
string message,
Exception innerException,
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotAvailableException(
String^ message,
Exception^ innerException,
String^ uiTestControl,
Object^ exceptionSource
)
new :
message:string *
innerException:Exception *
uiTestControl:string *
exceptionSource:Object -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
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
UITestControlNotAvailableException Klasse
UITestControlNotAvailableException-Überladung