Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / PowerModeChangedEventArgs.cs / 1305376 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the power mode. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OracleConnectionFactory.cs
- HeaderedItemsControl.cs
- XmlLangPropertyAttribute.cs
- HandoffBehavior.cs
- XmlSchemaComplexContentRestriction.cs
- CachedTypeface.cs
- CatalogPart.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- Privilege.cs
- HttpWebRequest.cs
- FixedTextSelectionProcessor.cs
- FormsAuthenticationCredentials.cs
- PageThemeBuildProvider.cs
- PrintDialogException.cs
- ForeignConstraint.cs
- InstanceCompleteException.cs
- CDSsyncETWBCLProvider.cs
- DesignerDataConnection.cs
- XmlILOptimizerVisitor.cs
- ConnectionPoolManager.cs
- ActivityCodeDomReferenceService.cs
- StringConverter.cs
- Deserializer.cs
- RuntimeConfig.cs
- DependencyObject.cs
- TextDecorationCollection.cs
- SecurityState.cs
- OpCellTreeNode.cs
- LocalFileSettingsProvider.cs
- XmlIlTypeHelper.cs
- XmlSchemaExternal.cs
- TypeConverterHelper.cs
- SignatureSummaryDialog.cs
- Parameter.cs
- SerializationInfoEnumerator.cs
- HandleValueEditor.cs
- DataGridRow.cs
- Pens.cs
- TimeStampChecker.cs
- TabletCollection.cs
- PrincipalPermission.cs
- HtmlShimManager.cs
- SafeHandle.cs
- GridViewRowEventArgs.cs
- HtmlCommandAdapter.cs
- IxmlLineInfo.cs
- StorageEntityContainerMapping.cs
- TypeConverters.cs
- HttpModulesSection.cs
- RegexMatch.cs
- WebPartDisplayModeCollection.cs
- KeyMatchBuilder.cs
- SimpleRecyclingCache.cs
- WebResourceAttribute.cs
- XmlStreamStore.cs
- SafeNativeMemoryHandle.cs
- RowToParametersTransformer.cs
- ApplicationDirectory.cs
- xmlformatgeneratorstatics.cs
- StateBag.cs
- StylusDownEventArgs.cs
- BamlTreeUpdater.cs
- Html32TextWriter.cs
- SspiNegotiationTokenProvider.cs
- PathSegment.cs
- Shape.cs
- BuildManagerHost.cs
- TemplatedMailWebEventProvider.cs
- CodeGenerator.cs
- Tablet.cs
- InternalDispatchObject.cs
- Rect3DValueSerializer.cs
- _SafeNetHandles.cs
- InternalBufferOverflowException.cs
- Typeface.cs
- RootBuilder.cs
- ImpersonationContext.cs
- ZipIOExtraFieldZip64Element.cs
- Mapping.cs
- FlowDocumentReaderAutomationPeer.cs
- CodeStatement.cs
- LinqDataSourceDisposeEventArgs.cs
- CFStream.cs
- XmlSiteMapProvider.cs
- RelationshipFixer.cs
- ConnectionStringSettingsCollection.cs
- ClientEventManager.cs
- PlatformCulture.cs
- WorkflowRuntimeEndpoint.cs
- VisualTarget.cs
- BoolExpressionVisitors.cs
- UpdatePanel.cs
- StringWriter.cs
- GeometryHitTestParameters.cs
- CodeExpressionStatement.cs
- metadatamappinghashervisitor.cs
- httpstaticobjectscollection.cs
- ValueTable.cs
- HttpRequestWrapper.cs
- _SslSessionsCache.cs