←Select platform

WaitForStatus Method

Summary

Waits for the DICOM Service to reach the specified status or for the specified time-out to expire.

Syntax

C#
VB
C++
public void WaitForStatus( 
   ServiceControllerStatus desiredStatus, 
   TimeSpan timeout 
) 
  
Public Sub WaitForStatus( _ 
   ByVal desiredStatus As ServiceControllerStatus, _ 
   ByVal timeout As TimeSpan _ 
)  
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Server.Admin Assembly