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

WaitForStatus Method (DicomService)






The status to wait for.
A System.TimeSpan object specifying the amount of time to wait for the service to reach the specified status.
Waits for the DICOM Service to reach the specified status or for the specified time-out to expire.
Syntax
public void WaitForStatus( 
   ServiceControllerStatus desiredStatus,
   TimeSpan timeout
)
'Declaration
 
Public Sub WaitForStatus( _
   ByVal desiredStatus As ServiceControllerStatus, _
   ByVal timeout As TimeSpan _
) 
'Usage
 
Dim instance As DicomService
Dim desiredStatus As ServiceControllerStatus
Dim timeout As TimeSpan
 
instance.WaitForStatus(desiredStatus, timeout)
public void WaitForStatus( 
   ServiceControllerStatus desiredStatus,
   TimeSpan timeout
)
 function Leadtools.Dicom.Server.Admin.DicomService.WaitForStatus( 
   desiredStatus ,
   timeout 
)
public:
void WaitForStatus( 
   ServiceControllerStatus desiredStatus,
   TimeSpan timeout
) 

Parameters

desiredStatus
The status to wait for.
timeout
A System.TimeSpan object specifying the amount of time to wait for the service to reach the specified status.
Remarks
This is a blocking operation.
Example
For an example refer to InstallService
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

DicomService Class
DicomService Members

 

 


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