WarningAction-Konstruktor (String, UITechnologyElement)
Initialisiert eine neue Instanz der WarningAction-Klasse.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
uiElement As UITechnologyElement _
)
public WarningAction(
string message,
UITechnologyElement uiElement
)
public:
WarningAction(
String^ message,
UITechnologyElement^ uiElement
)
new :
message:string *
uiElement:UITechnologyElement -> WarningAction
public function WarningAction(
message : String,
uiElement : UITechnologyElement
)
Parameter
message
Typ: StringEin string, der eine Warnmeldung enthält.
uiElement
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementEin UITechnologyElement-Objekt.
.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.