BuildServiceHostProcess.Stop 方法 (TimeSpan, Boolean, String%)
停止交互的 service/an 处理的窗口。
命名空间: Microsoft.TeamFoundation.Build.Config
程序集: Microsoft.TeamFoundation.Build.Config(在 Microsoft.TeamFoundation.Build.Config.dll 中)
语法
声明
Public Shared Function Stop ( _
timeout As TimeSpan, _
isInteractive As Boolean, _
<OutAttribute> ByRef message As String _
) As Boolean
public static bool Stop(
TimeSpan timeout,
bool isInteractive,
out string message
)
参数
- timeout
类型:System.TimeSpan
超时
- isInteractive
类型:System.Boolean
- message
类型:System.String%
在成功的情况下,null 或警告消息显示;如果失败,将显示一条错误消息。
返回值
类型:System.Boolean
services/过程停止。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。