语言

ExecuteProcess.TimeOut 属性

定义

获取或设定任务允许进程运行的秒数。

public:
 property int TimeOut { int get(); void set(int value); };
public int TimeOut { get; set; }
member this.TimeOut : int with get, set
Public Property TimeOut As Integer

属性值

一个整数表示任务允许进程运行的秒数。 值为0表示不使用超时值,进程运行至完成或直到出现错误。

实现

适用于