WaitForStatus(ServiceControllerStatus,TimeSpan) Method

Summary
WWaits for the service to reach the specified status or for the specified timeout period.
Syntax
C#
VB
C++
public void WaitForStatus( 
   ServiceControllerStatus desiredStatus, 
   TimeSpan timeout 
) 
Public Overloads Sub WaitForStatus( _ 
   ByVal desiredStatus As ServiceControllerStatus, _ 
   ByVal timeout As TimeSpan _ 
)  
public: 
void WaitForStatus(  
   ServiceControllerStatus desiredStatus, 
   TimeSpan timeout 
)  

Parameters

desiredStatus
The desired status.

timeout
The amount of time to wait for the status to be reached.

Requirements

Target Platforms

Help Version 21.0.2021.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Server.Admin Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.