|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace Microsoft.Win32
{
public partial class PowerModeChangedEventArgs : System.EventArgs
{
public PowerModeChangedEventArgs(Microsoft.Win32.PowerModes mode) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public Microsoft.Win32.PowerModes Mode { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
}
public delegate void PowerModeChangedEventHandler(object sender, Microsoft.Win32.PowerModeChangedEventArgs e);
public enum PowerModes
{
Resume = 1,
StatusChange = 2,
Suspend = 3,
}
public partial class SessionEndedEventArgs : System.EventArgs
{
public SessionEndedEventArgs(Microsoft.Win32.SessionEndReasons reason) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public Microsoft.Win32.SessionEndReasons Reason { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
}
public delegate void SessionEndedEventHandler(object sender, Microsoft.Win32.SessionEndedEventArgs e);
public partial class SessionEndingEventArgs : System.EventArgs
{
public SessionEndingEventArgs(Microsoft.Win32.SessionEndReasons reason) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public bool Cancel { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public Microsoft.Win32.SessionEndReasons Reason { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
}
public delegate void SessionEndingEventHandler(object sender, Microsoft.Win32.SessionEndingEventArgs e);
public enum SessionEndReasons
{
Logoff = 1,
SystemShutdown = 2,
}
public partial class SessionSwitchEventArgs : System.EventArgs
{
public SessionSwitchEventArgs(Microsoft.Win32.SessionSwitchReason reason) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public Microsoft.Win32.SessionSwitchReason Reason { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
}
public delegate void SessionSwitchEventHandler(object sender, Microsoft.Win32.SessionSwitchEventArgs e);
public enum SessionSwitchReason
{
ConsoleConnect = 1,
ConsoleDisconnect = 2,
RemoteConnect = 3,
RemoteDisconnect = 4,
SessionLogon = 5,
SessionLogoff = 6,
SessionLock = 7,
SessionUnlock = 8,
SessionRemoteControl = 9,
}
public sealed partial class SystemEvents
{
internal SystemEvents() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public static event System.EventHandler? DisplaySettingsChanged { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event System.EventHandler? DisplaySettingsChanging { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event System.EventHandler? EventsThreadShutdown { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event System.EventHandler? InstalledFontsChanged { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.ObsoleteAttribute("The LowMemory event has been deprecated and is not supported.")]
public static event System.EventHandler? LowMemory { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event System.EventHandler? PaletteChanged { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event Microsoft.Win32.PowerModeChangedEventHandler? PowerModeChanged { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event Microsoft.Win32.SessionEndedEventHandler? SessionEnded { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event Microsoft.Win32.SessionEndingEventHandler? SessionEnding { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event Microsoft.Win32.SessionSwitchEventHandler? SessionSwitch { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event System.EventHandler? TimeChanged { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event Microsoft.Win32.TimerElapsedEventHandler? TimerElapsed { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event Microsoft.Win32.UserPreferenceChangedEventHandler? UserPreferenceChanged { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static event Microsoft.Win32.UserPreferenceChangingEventHandler? UserPreferenceChanging { add { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } remove { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
public static System.IntPtr CreateTimer(int interval) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public static void InvokeOnEventsThread(System.Delegate method) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public static void KillTimer(System.IntPtr timerId) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
}
public partial class TimerElapsedEventArgs : System.EventArgs
{
public TimerElapsedEventArgs(System.IntPtr timerId) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public System.IntPtr TimerId { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
}
public delegate void TimerElapsedEventHandler(object sender, Microsoft.Win32.TimerElapsedEventArgs e);
public enum UserPreferenceCategory
{
Accessibility = 1,
Color = 2,
Desktop = 3,
General = 4,
Icon = 5,
Keyboard = 6,
Menu = 7,
Mouse = 8,
Policy = 9,
Power = 10,
Screensaver = 11,
Window = 12,
Locale = 13,
VisualStyle = 14,
}
public partial class UserPreferenceChangedEventArgs : System.EventArgs
{
public UserPreferenceChangedEventArgs(Microsoft.Win32.UserPreferenceCategory category) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public Microsoft.Win32.UserPreferenceCategory Category { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
}
public delegate void UserPreferenceChangedEventHandler(object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e);
public partial class UserPreferenceChangingEventArgs : System.EventArgs
{
public UserPreferenceChangingEventArgs(Microsoft.Win32.UserPreferenceCategory category) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); }
public Microsoft.Win32.UserPreferenceCategory Category { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents); } }
}
public delegate void UserPreferenceChangingEventHandler(object sender, Microsoft.Win32.UserPreferenceChangingEventArgs e);
}
|