UITestControlNotFoundException-Konstruktor (String, Exception)
Initialisiert eine neue Instanz der UITestControlNotFoundException-Klasse mit der bereitgestellten Fehlermeldung und der inneren 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 ( _
message As String, _
innerException As Exception _
)
public UITestControlNotFoundException(
string message,
Exception innerException
)
public:
UITestControlNotFoundException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> UITestControlNotFoundException
public function UITestControlNotFoundException(
message : String,
innerException : Exception
)
Parameter
message
Typ: StringDie Fehlermeldung.
innerException
Typ: ExceptionDie ursprüngliche Ausnahme, die die aktuelle Ausnahme ausgelöst hat.
.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