UITestControlNotAvailableException-Konstruktor (IUITechnologyElement, Exception)
Initialisiert mithilfe des angegebenen Benutzeroberflächenelements eine neue Instanz der UITestControlNotAvailableException-Klasse.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Sub New ( _
element As IUITechnologyElement, _
innerException As Exception _
)
public UITestControlNotAvailableException(
IUITechnologyElement element,
Exception innerException
)
public:
UITestControlNotAvailableException(
IUITechnologyElement^ element,
Exception^ innerException
)
new :
element:IUITechnologyElement *
innerException:Exception -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
element : IUITechnologyElement,
innerException : Exception
)
Parameter
element
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementEin UITechnologyElement-Objekt.
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
UITestControlNotAvailableException Klasse
UITestControlNotAvailableException-Überladung