LEADTOOLS Medical (Leadtools.Dicom.Server.Admin assembly)

WaitForStatus Method (DicomService)

Show in webframe





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
) 

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

See Also

Reference

DicomService Class
DicomService Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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