You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.208
Former-commit-id: 67532bb259617bd753166c9334544379a8e120db
This commit is contained in:
parent
eb85e2fc17
commit
aab600f1da
338
external/binary-reference-assemblies/src/v4.7.2/System.ServiceProcess.cs
vendored
Normal file
338
external/binary-reference-assemblies/src/v4.7.2/System.ServiceProcess.cs
vendored
Normal file
@ -0,0 +1,338 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
[assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]
|
||||
[assembly:System.CLSCompliantAttribute(true)]
|
||||
[assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))]
|
||||
[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")]
|
||||
[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")]
|
||||
[assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.ServiceProcess.dll")]
|
||||
[assembly:System.Reflection.AssemblyDescriptionAttribute("System.ServiceProcess.dll")]
|
||||
[assembly:System.Reflection.AssemblyFileVersionAttribute("4.7.3062.0")]
|
||||
[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.7.3062.0")]
|
||||
[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")]
|
||||
[assembly:System.Reflection.AssemblyTitleAttribute("System.ServiceProcess.dll")]
|
||||
[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")]
|
||||
[assembly:System.Resources.SatelliteContractVersionAttribute("4.0.0.0")]
|
||||
[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
|
||||
[assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute]
|
||||
[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
|
||||
[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)]
|
||||
[assembly:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute((System.Runtime.InteropServices.DllImportSearchPath)(2050))]
|
||||
[assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)]
|
||||
namespace System.ServiceProcess
|
||||
{
|
||||
public enum PowerBroadcastStatus
|
||||
{
|
||||
BatteryLow = 9,
|
||||
OemEvent = 11,
|
||||
PowerStatusChange = 10,
|
||||
QuerySuspend = 0,
|
||||
QuerySuspendFailed = 2,
|
||||
ResumeAutomatic = 18,
|
||||
ResumeCritical = 6,
|
||||
ResumeSuspend = 7,
|
||||
Suspend = 4,
|
||||
}
|
||||
public enum ServiceAccount
|
||||
{
|
||||
LocalService = 0,
|
||||
LocalSystem = 2,
|
||||
NetworkService = 1,
|
||||
User = 3,
|
||||
}
|
||||
[System.ComponentModel.InstallerTypeAttribute(typeof(System.ServiceProcess.ServiceProcessInstaller))]
|
||||
public partial class ServiceBase : System.ComponentModel.Component
|
||||
{
|
||||
public const int MaxNameLength = 80;
|
||||
public ServiceBase() { }
|
||||
[System.ComponentModel.DefaultValueAttribute(true)]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SBAutoLog")]
|
||||
public bool AutoLog { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute(false)]
|
||||
public bool CanHandlePowerEvent { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute(false)]
|
||||
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
|
||||
public bool CanHandleSessionChangeEvent { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute(false)]
|
||||
public bool CanPauseAndContinue { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute(false)]
|
||||
public bool CanShutdown { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute(true)]
|
||||
public bool CanStop { get { throw null; } set { } }
|
||||
[System.ComponentModel.BrowsableAttribute(false)]
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
public virtual System.Diagnostics.EventLog EventLog { get { throw null; } }
|
||||
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
|
||||
public int ExitCode { get { throw null; } set { } }
|
||||
[System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(2))]
|
||||
protected System.IntPtr ServiceHandle { get { throw null; } }
|
||||
[System.ComponentModel.TypeConverterAttribute("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SBServiceName")]
|
||||
public string ServiceName { get { throw null; } set { } }
|
||||
protected override void Dispose(bool disposing) { }
|
||||
protected virtual void OnContinue() { }
|
||||
protected virtual void OnCustomCommand(int command) { }
|
||||
protected virtual void OnPause() { }
|
||||
protected virtual bool OnPowerEvent(System.ServiceProcess.PowerBroadcastStatus powerStatus) { throw null; }
|
||||
protected virtual void OnSessionChange(System.ServiceProcess.SessionChangeDescription changeDescription) { }
|
||||
protected virtual void OnShutdown() { }
|
||||
protected virtual void OnStart(string[] args) { }
|
||||
protected virtual void OnStop() { }
|
||||
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
|
||||
public void RequestAdditionalTime(int milliseconds) { }
|
||||
public static void Run(System.ServiceProcess.ServiceBase service) { }
|
||||
public static void Run(System.ServiceProcess.ServiceBase[] services) { }
|
||||
[System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
|
||||
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
|
||||
public void ServiceMainCallback(int argCount, System.IntPtr argPointer) { }
|
||||
public void Stop() { }
|
||||
}
|
||||
[System.ComponentModel.DesignerAttribute("System.ServiceProcess.Design.ServiceControllerDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceControllerDesc")]
|
||||
public partial class ServiceController : System.ComponentModel.Component
|
||||
{
|
||||
public ServiceController() { }
|
||||
public ServiceController(string name) { }
|
||||
public ServiceController(string name, string machineName) { }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPCanPauseAndContinue")]
|
||||
public bool CanPauseAndContinue { get { throw null; } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPCanShutdown")]
|
||||
public bool CanShutdown { get { throw null; } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPCanStop")]
|
||||
public bool CanStop { get { throw null; } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPDependentServices")]
|
||||
public System.ServiceProcess.ServiceController[] DependentServices { get { throw null; } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ComponentModel.ReadOnlyAttribute(true)]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPDisplayName")]
|
||||
public string DisplayName { get { throw null; } set { } }
|
||||
[System.ComponentModel.BrowsableAttribute(false)]
|
||||
[System.ComponentModel.DefaultValueAttribute(".")]
|
||||
[System.ComponentModel.SettingsBindableAttribute(true)]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPMachineName")]
|
||||
public string MachineName { get { throw null; } set { } }
|
||||
[System.ComponentModel.BrowsableAttribute(false)]
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
public System.Runtime.InteropServices.SafeHandle ServiceHandle { get { throw null; } }
|
||||
[System.ComponentModel.DefaultValueAttribute("")]
|
||||
[System.ComponentModel.ReadOnlyAttribute(true)]
|
||||
[System.ComponentModel.SettingsBindableAttribute(true)]
|
||||
[System.ComponentModel.TypeConverterAttribute("System.ServiceProcess.Design.ServiceNameConverter")]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPServiceName")]
|
||||
public string ServiceName { get { throw null; } set { } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPServicesDependedOn")]
|
||||
public System.ServiceProcess.ServiceController[] ServicesDependedOn { get { throw null; } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPServiceType")]
|
||||
public System.ServiceProcess.ServiceType ServiceType { get { throw null; } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPStartType")]
|
||||
public System.ServiceProcess.ServiceStartMode StartType { get { throw null; } }
|
||||
[System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("SPStatus")]
|
||||
public System.ServiceProcess.ServiceControllerStatus Status { get { throw null; } }
|
||||
public void Close() { }
|
||||
public void Continue() { }
|
||||
protected override void Dispose(bool disposing) { }
|
||||
public void ExecuteCommand(int command) { }
|
||||
public static System.ServiceProcess.ServiceController[] GetDevices() { throw null; }
|
||||
public static System.ServiceProcess.ServiceController[] GetDevices(string machineName) { throw null; }
|
||||
public static System.ServiceProcess.ServiceController[] GetServices() { throw null; }
|
||||
public static System.ServiceProcess.ServiceController[] GetServices(string machineName) { throw null; }
|
||||
public void Pause() { }
|
||||
public void Refresh() { }
|
||||
public void Start() { }
|
||||
public void Start(string[] args) { }
|
||||
public void Stop() { }
|
||||
public void WaitForStatus(System.ServiceProcess.ServiceControllerStatus desiredStatus) { }
|
||||
public void WaitForStatus(System.ServiceProcess.ServiceControllerStatus desiredStatus, System.TimeSpan timeout) { }
|
||||
}
|
||||
[System.SerializableAttribute]
|
||||
public sealed partial class ServiceControllerPermission : System.Security.Permissions.ResourcePermissionBase
|
||||
{
|
||||
public ServiceControllerPermission() { }
|
||||
public ServiceControllerPermission(System.Security.Permissions.PermissionState state) { }
|
||||
public ServiceControllerPermission(System.ServiceProcess.ServiceControllerPermissionAccess permissionAccess, string machineName, string serviceName) { }
|
||||
public ServiceControllerPermission(System.ServiceProcess.ServiceControllerPermissionEntry[] permissionAccessEntries) { }
|
||||
public System.ServiceProcess.ServiceControllerPermissionEntryCollection PermissionEntries { get { throw null; } }
|
||||
}
|
||||
[System.FlagsAttribute]
|
||||
public enum ServiceControllerPermissionAccess
|
||||
{
|
||||
Browse = 2,
|
||||
Control = 6,
|
||||
None = 0,
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(621), AllowMultiple=true, Inherited=false)]
|
||||
[System.SerializableAttribute]
|
||||
public partial class ServiceControllerPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute
|
||||
{
|
||||
public ServiceControllerPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { }
|
||||
public string MachineName { get { throw null; } set { } }
|
||||
public System.ServiceProcess.ServiceControllerPermissionAccess PermissionAccess { get { throw null; } set { } }
|
||||
public string ServiceName { get { throw null; } set { } }
|
||||
public override System.Security.IPermission CreatePermission() { throw null; }
|
||||
}
|
||||
[System.SerializableAttribute]
|
||||
public partial class ServiceControllerPermissionEntry
|
||||
{
|
||||
public ServiceControllerPermissionEntry() { }
|
||||
public ServiceControllerPermissionEntry(System.ServiceProcess.ServiceControllerPermissionAccess permissionAccess, string machineName, string serviceName) { }
|
||||
public string MachineName { get { throw null; } }
|
||||
public System.ServiceProcess.ServiceControllerPermissionAccess PermissionAccess { get { throw null; } }
|
||||
public string ServiceName { get { throw null; } }
|
||||
}
|
||||
[System.SerializableAttribute]
|
||||
public partial class ServiceControllerPermissionEntryCollection : System.Collections.CollectionBase
|
||||
{
|
||||
internal ServiceControllerPermissionEntryCollection() { }
|
||||
public System.ServiceProcess.ServiceControllerPermissionEntry this[int index] { get { throw null; } set { } }
|
||||
public int Add(System.ServiceProcess.ServiceControllerPermissionEntry value) { throw null; }
|
||||
public void AddRange(System.ServiceProcess.ServiceControllerPermissionEntryCollection value) { }
|
||||
public void AddRange(System.ServiceProcess.ServiceControllerPermissionEntry[] value) { }
|
||||
public bool Contains(System.ServiceProcess.ServiceControllerPermissionEntry value) { throw null; }
|
||||
public void CopyTo(System.ServiceProcess.ServiceControllerPermissionEntry[] array, int index) { }
|
||||
public int IndexOf(System.ServiceProcess.ServiceControllerPermissionEntry value) { throw null; }
|
||||
public void Insert(int index, System.ServiceProcess.ServiceControllerPermissionEntry value) { }
|
||||
protected override void OnClear() { }
|
||||
protected override void OnInsert(int index, object value) { }
|
||||
protected override void OnRemove(int index, object value) { }
|
||||
protected override void OnSet(int index, object oldValue, object newValue) { }
|
||||
public void Remove(System.ServiceProcess.ServiceControllerPermissionEntry value) { }
|
||||
}
|
||||
public enum ServiceControllerStatus
|
||||
{
|
||||
ContinuePending = 5,
|
||||
Paused = 7,
|
||||
PausePending = 6,
|
||||
Running = 4,
|
||||
StartPending = 2,
|
||||
Stopped = 1,
|
||||
StopPending = 3,
|
||||
}
|
||||
public partial class ServiceInstaller : System.Configuration.Install.ComponentInstaller
|
||||
{
|
||||
public ServiceInstaller() { }
|
||||
[System.ComponentModel.DefaultValueAttribute(false)]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceInstallerDelayedAutoStart")]
|
||||
public bool DelayedAutoStart { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute("")]
|
||||
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceInstallerDescription")]
|
||||
public string Description { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute("")]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceInstallerDisplayName")]
|
||||
public string DisplayName { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute("")]
|
||||
[System.ComponentModel.TypeConverterAttribute("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceInstallerServiceName")]
|
||||
public string ServiceName { get { throw null; } set { } }
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceInstallerServicesDependedOn")]
|
||||
public string[] ServicesDependedOn { get { throw null; } set { } }
|
||||
[System.ComponentModel.DefaultValueAttribute((System.ServiceProcess.ServiceStartMode)(3))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceInstallerStartType")]
|
||||
public System.ServiceProcess.ServiceStartMode StartType { get { throw null; } set { } }
|
||||
public override void CopyFromComponent(System.ComponentModel.IComponent component) { }
|
||||
public override void Install(System.Collections.IDictionary stateSaver) { }
|
||||
public override bool IsEquivalentInstaller(System.Configuration.Install.ComponentInstaller otherInstaller) { throw null; }
|
||||
public override void Rollback(System.Collections.IDictionary savedState) { }
|
||||
public override void Uninstall(System.Collections.IDictionary savedState) { }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(32767))]
|
||||
public partial class ServiceProcessDescriptionAttribute : System.ComponentModel.DescriptionAttribute
|
||||
{
|
||||
public ServiceProcessDescriptionAttribute(string description) { }
|
||||
public override string Description { get { throw null; } }
|
||||
}
|
||||
public partial class ServiceProcessInstaller : System.Configuration.Install.ComponentInstaller
|
||||
{
|
||||
public ServiceProcessInstaller() { }
|
||||
[System.ComponentModel.DefaultValueAttribute((System.ServiceProcess.ServiceAccount)(3))]
|
||||
[System.ServiceProcess.ServiceProcessDescriptionAttribute("ServiceProcessInstallerAccount")]
|
||||
public System.ServiceProcess.ServiceAccount Account { get { throw null; } set { } }
|
||||
public override string HelpText { get { throw null; } }
|
||||
[System.ComponentModel.BrowsableAttribute(false)]
|
||||
public string Password { get { throw null; } set { } }
|
||||
[System.ComponentModel.BrowsableAttribute(false)]
|
||||
[System.ComponentModel.TypeConverterAttribute("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
public string Username { get { throw null; } set { } }
|
||||
public override void CopyFromComponent(System.ComponentModel.IComponent comp) { }
|
||||
public override void Install(System.Collections.IDictionary stateSaver) { }
|
||||
public override void Rollback(System.Collections.IDictionary savedState) { }
|
||||
}
|
||||
public enum ServiceStartMode
|
||||
{
|
||||
Automatic = 2,
|
||||
Boot = 0,
|
||||
Disabled = 4,
|
||||
Manual = 3,
|
||||
System = 1,
|
||||
}
|
||||
[System.FlagsAttribute]
|
||||
public enum ServiceType
|
||||
{
|
||||
Adapter = 4,
|
||||
FileSystemDriver = 2,
|
||||
InteractiveProcess = 256,
|
||||
KernelDriver = 1,
|
||||
RecognizerDriver = 8,
|
||||
Win32OwnProcess = 16,
|
||||
Win32ShareProcess = 32,
|
||||
}
|
||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
public partial struct SessionChangeDescription
|
||||
{
|
||||
public System.ServiceProcess.SessionChangeReason Reason { get { throw null; } }
|
||||
public int SessionId { get { throw null; } }
|
||||
public override bool Equals(object obj) { throw null; }
|
||||
public bool Equals(System.ServiceProcess.SessionChangeDescription changeDescription) { throw null; }
|
||||
public override int GetHashCode() { throw null; }
|
||||
public static bool operator ==(System.ServiceProcess.SessionChangeDescription a, System.ServiceProcess.SessionChangeDescription b) { throw null; }
|
||||
public static bool operator !=(System.ServiceProcess.SessionChangeDescription a, System.ServiceProcess.SessionChangeDescription b) { throw null; }
|
||||
}
|
||||
public enum SessionChangeReason
|
||||
{
|
||||
ConsoleConnect = 1,
|
||||
ConsoleDisconnect = 2,
|
||||
RemoteConnect = 3,
|
||||
RemoteDisconnect = 4,
|
||||
SessionLock = 7,
|
||||
SessionLogoff = 6,
|
||||
SessionLogon = 5,
|
||||
SessionRemoteControl = 9,
|
||||
SessionUnlock = 8,
|
||||
}
|
||||
[System.SerializableAttribute]
|
||||
public partial class TimeoutException : System.SystemException
|
||||
{
|
||||
public TimeoutException() { }
|
||||
protected TimeoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
|
||||
public TimeoutException(string message) { }
|
||||
public TimeoutException(string message, System.Exception innerException) { }
|
||||
}
|
||||
}
|
||||
namespace System.ServiceProcess.Design
|
||||
{
|
||||
public partial class ServiceInstallerDialog : System.Windows.Forms.Form
|
||||
{
|
||||
public ServiceInstallerDialog() { }
|
||||
public string Password { get { throw null; } set { } }
|
||||
public System.ServiceProcess.Design.ServiceInstallerDialogResult Result { get { throw null; } }
|
||||
public string Username { get { throw null; } set { } }
|
||||
[System.STAThreadAttribute]
|
||||
public static void Main() { }
|
||||
}
|
||||
public enum ServiceInstallerDialogResult
|
||||
{
|
||||
Canceled = 2,
|
||||
OK = 0,
|
||||
UseSystem = 1,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user