UITestErrorEventArgs コンストラクター
指定したアクションと例外を使用して、UITestErrorEventArgs クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.VisualStudio.TestTools.UITest.Common
アセンブリ: Microsoft.VisualStudio.TestTools.UITest.Common (Microsoft.VisualStudio.TestTools.UITest.Common.dll 内)
構文
'宣言
Public Sub New ( _
action As UITestAction, _
ex As Exception _
)
public UITestErrorEventArgs(
UITestAction action,
Exception ex
)
public:
UITestErrorEventArgs(
UITestAction^ action,
Exception^ ex
)
new :
action:UITestAction *
ex:Exception -> UITestErrorEventArgs
public function UITestErrorEventArgs(
action : UITestAction,
ex : Exception
)
パラメーター
- action
型 : Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
UITestAction オブジェクト。
- ex
型 : System.Exception
イベントの原因となった Exception。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。