Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

83 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="PowerModes" FullName="Microsoft.Win32.PowerModes">
<TypeSignature Language="C#" Value="public enum PowerModes" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed PowerModes extends System.Enum" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This enumeration defines identifiers that represent types of power mode changes or events. The values of this enumeration are used by a <see cref="T:Microsoft.Win32.PowerModeChangedEventArgs" /> to indicate the type of a <see cref="E:Microsoft.Win32.SystemEvents.PowerModeChanged" /> event.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines identifiers for power mode events reported by the operating system.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Resume">
<MemberSignature Language="C#" Value="Resume" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.PowerModes Resume = int32(1)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Win32.PowerModes</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The operating system is about to resume from a suspended state.</para>
</summary>
</Docs>
</Member>
<Member MemberName="StatusChange">
<MemberSignature Language="C#" Value="StatusChange" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.PowerModes StatusChange = int32(2)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Win32.PowerModes</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A power mode status notification event has been raised by the operating system. This might indicate a weak or charging battery, a transition between AC power and battery, or another change in the status of the system power supply.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Suspend">
<MemberSignature Language="C#" Value="Suspend" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.PowerModes Suspend = int32(3)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Win32.PowerModes</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The operating system is about to be suspended.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>