次の方法で共有


TestElement.ExecutionId プロパティ

実行 ID を取得または設定します。

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

構文

'宣言
Public Property ExecutionId As TestExecId
public TestExecId ExecutionId { get; set; }
public:
virtual property TestExecId^ ExecutionId {
    TestExecId^ get () sealed;
    void set (TestExecId^ value) sealed;
}
abstract ExecutionId : TestExecId with get, set
override ExecutionId : TestExecId with get, set
final function get ExecutionId () : TestExecId
final function set ExecutionId (value : TestExecId)

プロパティ値

型 : Microsoft.VisualStudio.TestTools.Common.TestExecId
実行 ID。テストが実行されていない場合は nullnull 参照 (Visual Basic では Nothing)。

実装

ITestElement.ExecutionId

.NET Framework セキュリティ

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

参照

関連項目

TestElement クラス

Microsoft.VisualStudio.TestTools.Common 名前空間