次の方法で共有


TestElement.AbortRunOnAgentFailure プロパティ

テスト エージェントが失敗した場合にテストの実行を中止するかどうかを示す値を取得または設定します。

名前空間:  Microsoft.VisualStudio.TestTools.Common
アセンブリ:  Microsoft.VisualStudio.QualityTools.Common (Microsoft.VisualStudio.QualityTools.Common.dll 内)

構文

'宣言
Public Property AbortRunOnAgentFailure As Boolean
public bool AbortRunOnAgentFailure { get; set; }
public:
virtual property bool AbortRunOnAgentFailure {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract AbortRunOnAgentFailure : bool with get, set
override AbortRunOnAgentFailure : bool with get, set
final function get AbortRunOnAgentFailure () : boolean
final function set AbortRunOnAgentFailure (value : boolean)

プロパティ値

型 : System.Boolean
テスト エージェントが失敗したときにテストの実行を中止する場合は true。それ以外の場合は false。

実装

ITestElement.AbortRunOnAgentFailure

.NET Framework セキュリティ

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

参照

関連項目

TestElement クラス

Microsoft.VisualStudio.TestTools.Common 名前空間