WarningAction 建構函式 (String, UITechnologyElement)

初始化 WarningAction 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Common
組件:  Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

語法

'宣告
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
)

參數

.NET Framework 安全性

請參閱

參考

WarningAction 類別

WarningAction 多載

Microsoft.VisualStudio.TestTools.UITest.Common 命名空間