BuildServiceHostProcess.TryCreateRequestShutdownWaitHandle Method
Namespace: Microsoft.TeamFoundation.Build.Config
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
Public Shared Function TryCreateRequestShutdownWaitHandle ( _
instanceName As String, _
<OutAttribute> ByRef handle As EventWaitHandle, _
timeout As Integer _
) As Boolean
public static bool TryCreateRequestShutdownWaitHandle(
string instanceName,
out EventWaitHandle handle,
int timeout
)
public:
static bool TryCreateRequestShutdownWaitHandle(
String^ instanceName,
[OutAttribute] EventWaitHandle^% handle,
int timeout
)
static member TryCreateRequestShutdownWaitHandle :
instanceName:string *
handle:EventWaitHandle byref *
timeout:int -> bool
public static function TryCreateRequestShutdownWaitHandle(
instanceName : String,
handle : EventWaitHandle,
timeout : int
) : boolean
Parameters
- instanceName
Type: System.String
- handle
Type: System.Threading.EventWaitHandle%
- timeout
Type: System.Int32
Return Value
Type: System.Boolean
Returns Boolean.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.