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
)

参数

  • message
    类型:System.String%
    在成功的情况下,null 或警告消息显示;如果失败,将显示一条错误消息。

返回值

类型:System.Boolean
services/过程停止。

.NET Framework 安全性

请参阅

参考

BuildServiceHostProcess 类

Stop 重载

Microsoft.TeamFoundation.Build.Config 命名空间