TestRunConfiguration.AgentNotRespondingTimeout 屬性

取得或設定無回應測試代理程式的時間限制。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
Public Property AgentNotRespondingTimeout As Integer
public int AgentNotRespondingTimeout { get; set; }
public:
property int AgentNotRespondingTimeout {
    int get ();
    void set (int value);
}
member AgentNotRespondingTimeout : int with get, set
function get AgentNotRespondingTimeout () : int
function set AgentNotRespondingTimeout (value : int)

屬性值

型別:System.Int32
代理程式的時間限制沒有回應。

例外狀況

例外狀況 條件
Common_CannotBeLessThanZero

時間限制 < 0。

.NET Framework 安全性

請參閱

參考

TestRunConfiguration 類別

Microsoft.VisualStudio.TestTools.Common 命名空間