Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / Microsoft / Win32 / PowerModeChangedEventArgs.cs / 1 / PowerModeChangedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace Microsoft.Win32 { using System; using System.Diagnostics; using System.Security.Permissions; ////// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] [HostProtection(MayLeakOnAbort = true)] public class PowerModeChangedEventArgs : EventArgs { private readonly PowerModes mode; ///Provides data for the ///event. /// public PowerModeChangedEventArgs(PowerModes mode) { this.mode = mode; } ///Initializes a new instance of the ///class. /// public PowerModes Mode { get { return mode; } } } }Gets the power mode. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ViewLoader.cs
- NativeMethods.cs
- HttpModulesInstallComponent.cs
- Guid.cs
- NamespaceEmitter.cs
- BinHexDecoder.cs
- CustomValidator.cs
- PasswordDeriveBytes.cs
- Columns.cs
- NativeMethods.cs
- ViewLoader.cs
- MethodCallExpression.cs
- LabelLiteral.cs
- IOException.cs
- WhitespaceRuleLookup.cs
- OverflowException.cs
- ValueHandle.cs
- HttpProcessUtility.cs
- CommandConverter.cs
- PeerCollaboration.cs
- FormViewUpdatedEventArgs.cs
- DoneReceivingAsyncResult.cs
- WebPartTransformerAttribute.cs
- HostAdapter.cs
- BooleanProjectedSlot.cs
- ContentElementAutomationPeer.cs
- BindStream.cs
- TextUtf8RawTextWriter.cs
- TextTrailingWordEllipsis.cs
- ListDataHelper.cs
- WorkflowTraceTransfer.cs
- linebase.cs
- unsafenativemethodsother.cs
- BitStack.cs
- MediaSystem.cs
- Properties.cs
- TransformCryptoHandle.cs
- ScrollItemPatternIdentifiers.cs
- SchemaSetCompiler.cs
- CustomAttributeFormatException.cs
- TextMessageEncodingBindingElement.cs
- EnterpriseServicesHelper.cs
- HttpHandlersSection.cs
- PageTheme.cs
- AvTraceDetails.cs
- DiscreteKeyFrames.cs
- PaintEvent.cs
- GroupBox.cs
- ValueExpressions.cs
- AppModelKnownContentFactory.cs
- DropDownList.cs
- ConfigurationProviderException.cs
- XmlSecureResolver.cs
- MaskedTextBox.cs
- DataReceivedEventArgs.cs
- CssClassPropertyAttribute.cs
- RegexGroupCollection.cs
- UIServiceHelper.cs
- BitConverter.cs
- WindowsMenu.cs
- ShutDownListener.cs
- NamespaceQuery.cs
- OverrideMode.cs
- WebZone.cs
- NotFiniteNumberException.cs
- ToolStripItemDataObject.cs
- ExternalException.cs
- ConcurrentDictionary.cs
- DynamicValueConverter.cs
- TextViewSelectionProcessor.cs
- ServiceReference.cs
- ReadOnlyCollectionBuilder.cs
- DataServiceRequestOfT.cs
- HTTPNotFoundHandler.cs
- TextFragmentEngine.cs
- AutomationProperty.cs
- ExpressionBindingCollection.cs
- AssociativeAggregationOperator.cs
- PolyLineSegmentFigureLogic.cs
- TreeViewImageKeyConverter.cs
- ResumeStoryboard.cs
- SqlDataSourceStatusEventArgs.cs
- XmlDictionaryString.cs
- ConfigurationManagerInternalFactory.cs
- XPathEmptyIterator.cs
- ServiceBehaviorElement.cs
- CaseStatementSlot.cs
- ImageCodecInfo.cs
- SchemaNotation.cs
- AccessibleObject.cs
- COM2EnumConverter.cs
- SspiHelper.cs
- XmlDataLoader.cs
- UnconditionalPolicy.cs
- PtsHelper.cs
- SqlFunctionAttribute.cs
- mediaeventshelper.cs
- MorphHelper.cs
- TaiwanCalendar.cs
- BamlMapTable.cs