public class ServiceController extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceProcess.ServiceController
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ServiceProcess
|
static java.lang.String |
className
Qualified class name: System.ServiceProcess.ServiceController
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ServiceController() |
ServiceController(java.lang.Object instance)
Internal constructor.
|
ServiceController(java.lang.String name) |
ServiceController(java.lang.String name,
java.lang.String machineName) |
| Modifier and Type | Method and Description |
|---|---|
static ServiceController |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ServiceController, a cast assert is made to check if types are compatible. |
void |
Close() |
void |
Continue() |
void |
ExecuteCommand(int command) |
boolean |
getCanPauseAndContinue() |
boolean |
getCanShutdown() |
boolean |
getCanStop() |
ServiceController[] |
getDependentServices() |
static ServiceController[] |
GetDevices() |
static ServiceController[] |
GetDevices(java.lang.String machineName) |
java.lang.String |
getDisplayName() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getMachineName() |
SafeHandle |
getServiceHandle() |
java.lang.String |
getServiceName() |
static ServiceController[] |
GetServices() |
static ServiceController[] |
GetServices(java.lang.String machineName) |
ServiceController[] |
getServicesDependedOn() |
ServiceType |
getServiceType() |
ServiceStartMode |
getStartType() |
ServiceControllerStatus |
getStatus() |
void |
Pause() |
void |
Refresh() |
void |
setDisplayName(java.lang.String DisplayName) |
void |
setJCOInstance(JCObject instance) |
void |
setMachineName(java.lang.String MachineName) |
void |
setServiceName(java.lang.String ServiceName) |
void |
Start() |
void |
Start(JCORefOut dupParam0) |
void |
Start(java.lang.String[] args) |
void |
Stop() |
void |
WaitForStatus(ServiceControllerStatus desiredStatus) |
void |
WaitForStatus(ServiceControllerStatus desiredStatus,
TimeSpan timeout) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ServiceController()
throws java.lang.Throwable
java.lang.Throwablepublic ServiceController(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ServiceController(java.lang.String name)
throws java.lang.Throwable,
NullReferenceException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic ServiceController(java.lang.String name,
java.lang.String machineName)
throws java.lang.Throwable,
NullReferenceException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static ServiceController cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ServiceController, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedServiceController instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable
java.lang.Throwablepublic void Continue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionpublic void ExecuteCommand(int command)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionpublic boolean getCanPauseAndContinue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionWin32Exceptionpublic boolean getCanShutdown()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionWin32Exceptionpublic boolean getCanStop()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionWin32Exceptionpublic final ServiceController[] getDependentServices() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, SecurityException, Win32Exception, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionWin32ExceptionOutOfMemoryExceptionpublic static ServiceController[] GetDevices() throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, SecurityException, OutOfMemoryException
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionSecurityExceptionOutOfMemoryExceptionpublic static ServiceController[] GetDevices(java.lang.String machineName) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, SecurityException, OutOfMemoryException
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionSecurityExceptionOutOfMemoryExceptionpublic java.lang.String getDisplayName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionIndexOutOfRangeExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic java.lang.String getMachineName()
throws java.lang.Throwable
java.lang.Throwablepublic SafeHandle getServiceHandle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException, MissingManifestResourceException, NotImplementedException, PlatformNotSupportedException, NullReferenceException, SecurityException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionObjectDisposedExceptionMissingManifestResourceExceptionNotImplementedExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionIndexOutOfRangeExceptionpublic java.lang.String getServiceName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionIndexOutOfRangeExceptionpublic static ServiceController[] GetServices() throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, SecurityException, OutOfMemoryException
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionSecurityExceptionOutOfMemoryExceptionpublic static ServiceController[] GetServices(java.lang.String machineName) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, SecurityException, OutOfMemoryException
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionSecurityExceptionOutOfMemoryExceptionpublic final ServiceController[] getServicesDependedOn() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, SecurityException, Win32Exception, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionWin32ExceptionOutOfMemoryExceptionpublic ServiceType getServiceType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, SecurityException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionWin32Exceptionpublic ServiceStartMode getStartType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, SecurityException, Win32Exception, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionWin32ExceptionOutOfMemoryExceptionpublic ServiceControllerStatus getStatus() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, SecurityException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionWin32Exceptionpublic void Pause()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionpublic void Refresh()
throws java.lang.Throwable
java.lang.Throwablepublic void setDisplayName(java.lang.String DisplayName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setMachineName(java.lang.String MachineName)
throws java.lang.Throwable,
NullReferenceException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void setServiceName(java.lang.String ServiceName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic void Start()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
FormatException,
OutOfMemoryException,
KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionOutOfMemoryExceptionKeyNotFoundExceptionpublic void Start(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, SecurityException, OutOfMemoryException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionOutOfMemoryExceptionKeyNotFoundExceptionpublic void Start(java.lang.String[] args)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
OutOfMemoryException,
KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionOutOfMemoryExceptionKeyNotFoundExceptionpublic void Stop()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
NullReferenceException,
SecurityException,
Win32Exception,
OutOfMemoryException,
NotSupportedException,
InvalidEnumArgumentException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionWin32ExceptionOutOfMemoryExceptionNotSupportedExceptionInvalidEnumArgumentExceptionTimeoutExceptionpublic void WaitForStatus(ServiceControllerStatus desiredStatus) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, TimeoutException, PlatformNotSupportedException, NullReferenceException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionTimeoutExceptionPlatformNotSupportedExceptionNullReferenceExceptionWin32Exceptionpublic void WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, InvalidEnumArgumentException, TimeoutException, PlatformNotSupportedException, NullReferenceException, SecurityException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidEnumArgumentExceptionTimeoutExceptionPlatformNotSupportedExceptionNullReferenceExceptionSecurityExceptionWin32Exception