Debian Codegraph @

external/api-snapshot/profiles/monodroid/Facades/System.ServiceProcess.ServiceController.cs

raw
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4
5 [assembly:System.Reflection.AssemblyVersionAttribute("4.2.0.0")]
6 [assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
7 [assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")]
8 [assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")]
9 [assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.ServiceProcess.ServiceController")]
10 [assembly:System.Reflection.AssemblyDescriptionAttribute("System.ServiceProcess.ServiceController")]
11 [assembly:System.Reflection.AssemblyFileVersionAttribute("4.0.0.0")]
12 [assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.0.0.0")]
13 [assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")]
14 [assembly:System.Reflection.AssemblyTitleAttribute("System.ServiceProcess.ServiceController")]
15 [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
16 [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
17 namespace System
18 {
19 [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
20 internal partial class MonoDocumentationNoteAttribute : System.MonoTODOAttribute
21 {
22 public MonoDocumentationNoteAttribute(string comment) { }
23 }
24 [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
25 internal partial class MonoExtensionAttribute : System.MonoTODOAttribute
26 {
27 public MonoExtensionAttribute(string comment) { }
28 }
29 [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
30 internal partial class MonoInternalNoteAttribute : System.MonoTODOAttribute
31 {
32 public MonoInternalNoteAttribute(string comment) { }
33 }
34 [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
35 internal partial class MonoLimitationAttribute : System.MonoTODOAttribute
36 {
37 public MonoLimitationAttribute(string comment) { }
38 }
39 [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
40 internal partial class MonoNotSupportedAttribute : System.MonoTODOAttribute
41 {
42 public MonoNotSupportedAttribute(string comment) { }
43 }
44 [System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
45 internal partial class MonoTODOAttribute : System.Attribute
46 {
47 public MonoTODOAttribute() { }
48 public MonoTODOAttribute(string comment) { }
49 public string Comment { get { throw null; } }
50 }
51 }
52 namespace System.ServiceProcess
53 {
54 public partial class ServiceController : System.IDisposable
55 {
56 public ServiceController(string name) { }
57 public ServiceController(string name, string machineName) { }
58 public bool CanPauseAndContinue { get { throw null; } }
59 public bool CanShutdown { get { throw null; } }
60 public bool CanStop { get { throw null; } }
61 public System.ServiceProcess.ServiceController[] DependentServices { get { throw null; } }
62 public string DisplayName { get { throw null; } }
63 public string MachineName { get { throw null; } }
64 public System.Runtime.InteropServices.SafeHandle ServiceHandle { get { throw null; } }
65 public string ServiceName { get { throw null; } }
66 public System.ServiceProcess.ServiceController[] ServicesDependedOn { get { throw null; } }
67 public System.ServiceProcess.ServiceType ServiceType { get { throw null; } }
68 public System.ServiceProcess.ServiceStartMode StartType { get { throw null; } }
69 public System.ServiceProcess.ServiceControllerStatus Status { get { throw null; } }
70 public void Continue() { }
71 public void Dispose() { }
72 protected virtual void Dispose(bool disposing) { }
73 public static System.ServiceProcess.ServiceController[] GetDevices() { throw null; }
74 public static System.ServiceProcess.ServiceController[] GetDevices(string machineName) { throw null; }
75 public static System.ServiceProcess.ServiceController[] GetServices() { throw null; }
76 public static System.ServiceProcess.ServiceController[] GetServices(string machineName) { throw null; }
77 public void Pause() { }
78 public void Refresh() { }
79 public void Start() { }
80 public void Start(string[] args) { }
81 public void Stop() { }
82 public void WaitForStatus(System.ServiceProcess.ServiceControllerStatus desiredStatus) { }
83 public void WaitForStatus(System.ServiceProcess.ServiceControllerStatus desiredStatus, System.TimeSpan timeout) { }
84 }
85 public enum ServiceControllerStatus
86 {
87 ContinuePending = 5,
88 Paused = 7,
89 PausePending = 6,
90 Running = 4,
91 StartPending = 2,
92 Stopped = 1,
93 StopPending = 3,
94 }
95 public enum ServiceStartMode
96 {
97 Automatic = 2,
98 Boot = 0,
99 Disabled = 4,
100 Manual = 3,
101 System = 1,
102 }
103 [System.FlagsAttribute]
104 public enum ServiceType
105 {
106 Adapter = 4,
107 FileSystemDriver = 2,
108 InteractiveProcess = 256,
109 KernelDriver = 1,
110 RecognizerDriver = 8,
111 Win32OwnProcess = 16,
112 Win32ShareProcess = 32,
113 }
114 public partial class TimeoutException : System.Exception
115 {
116 public TimeoutException() { }
117 protected TimeoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
118 public TimeoutException(string message) { }
119 public TimeoutException(string message, System.Exception innerException) { }
120 }
121 }