次の方法で共有


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
)

パラメーター

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

UITestErrorEventArgs クラス

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

UITestAction