LEADTOOLS Medical (Leadtools.Dicom.Server.Admin assembly)
LEAD Technologies, Inc

WaitForStatus(ServiceControllerStatus,TimeSpan) Method






The desired status.
The amount of time to wait for the status to be reached.
WWaits for the service to reach the specified status or for the specified timeout period.
Syntax
public void WaitForStatus( 
   ServiceControllerStatus desiredStatus,
   TimeSpan timeout
)
'Declaration
 
Public Overloads Sub WaitForStatus( _
   ByVal desiredStatus As ServiceControllerStatus, _
   ByVal timeout As TimeSpan _
) 
'Usage
 
Dim instance As DicomServiceController
Dim desiredStatus As ServiceControllerStatus
Dim timeout As TimeSpan
 
instance.WaitForStatus(desiredStatus, timeout)
public void WaitForStatus( 
   ServiceControllerStatus desiredStatus,
   TimeSpan timeout
)
 function Leadtools.Dicom.Server.Admin.DicomServiceController.WaitForStatus(ServiceControllerStatus,TimeSpan)( 
   desiredStatus ,
   timeout 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomServiceController Class
DicomServiceController Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Server.Admin requires a Medical toolkit server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features