BuildServiceHostProcess.TryOpenRequestShutdownWaitHandle 方法
命名空间: Microsoft.TeamFoundation.Build.Config
程序集: Microsoft.TeamFoundation.Build.Config(在 Microsoft.TeamFoundation.Build.Config.dll 中)
语法
声明
Public Shared Function TryOpenRequestShutdownWaitHandle ( _
instanceName As String, _
<OutAttribute> ByRef handle As EventWaitHandle, _
timeout As Integer _
) As Boolean
public static bool TryOpenRequestShutdownWaitHandle(
string instanceName,
out EventWaitHandle handle,
int timeout
)
参数
- instanceName
类型:System.String
- handle
类型:System.Threading.EventWaitHandle%
- timeout
类型:System.Int32
返回值
类型:System.Boolean
返回 Boolean。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。