次の方法で共有


TestElement.Timeout プロパティ

このテスト要素の実行がタイムアウトになるまでの秒数を取得または設定します。

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

構文

'宣言
<PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)> _
<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")> _
Public Overridable Property Timeout As Integer
[PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)]
[UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")]
public virtual int Timeout { get; set; }
[PropertyWindowAttribute(PropertyEditorType::NoEditor, PropertyConverterType::TimeoutConverter)]
[UserVisiblePropertyAttribute(L"{8E14F374-EA8C-4c77-843B-B4075899F239}")]
public:
virtual property int Timeout {
    int get ();
    void set (int value);
}
[<PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)>]
[<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")>]
abstract Timeout : int with get, set
[<PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)>]
[<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")>]
override Timeout : int with get, set
function get Timeout () : int
function set Timeout (value : int)

プロパティ値

型 : System.Int32
このテスト要素の実行がタイムアウトになるまでの秒数。

実装

ITestElement.Timeout

.NET Framework セキュリティ

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

参照

関連項目

TestElement クラス

Microsoft.VisualStudio.TestTools.Common 名前空間