FakeHostOptions.ShutDownTimeout 属性

定义

获取或设置主机关闭的时间限制。

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

属性值

默认值为 10 秒。

注解

如果没有取消令牌,则使用此限制。

适用于