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 指示不使用超时值,进程一直运行到处理完毕或出错为止。

实现

适用于