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
- _DomainName.cs
- ReachSerializer.cs
- ClientSideProviderDescription.cs
- MediaTimeline.cs
- EventSetter.cs
- RewritingSimplifier.cs
- SmiXetterAccessMap.cs
- ApplicationServicesHostFactory.cs
- ProxyHwnd.cs
- WebConfigurationManager.cs
- Thickness.cs
- DataList.cs
- _ShellExpression.cs
- DbProviderServices.cs
- StatusBarAutomationPeer.cs
- FilterElement.cs
- CustomLineCap.cs
- cookiecontainer.cs
- SQLInt64.cs
- CookieProtection.cs
- WmlValidatorAdapter.cs
- EntityTypeBase.cs
- DataBinding.cs
- KeyTimeConverter.cs
- XhtmlTextWriter.cs
- BufferedGraphicsManager.cs
- UTF8Encoding.cs
- CategoryGridEntry.cs
- ToolStripControlHost.cs
- TdsEnums.cs
- SqlCacheDependency.cs
- NameValuePermission.cs
- Base64Decoder.cs
- WebRequestModuleElement.cs
- ColorTransform.cs
- ProvidersHelper.cs
- HtmlCommandAdapter.cs
- TrustLevel.cs
- ModelItemCollection.cs
- CertificateReferenceElement.cs
- CompositeControl.cs
- CompositeFontParser.cs
- ResourceManagerWrapper.cs
- Viewport2DVisual3D.cs
- WindowsAuthenticationEventArgs.cs
- XmlLanguageConverter.cs
- Interlocked.cs
- SqlDataSourceAdvancedOptionsForm.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- ResXResourceWriter.cs
- GridViewColumn.cs
- BamlLocalizabilityResolver.cs
- TabPage.cs
- ImageCodecInfoPrivate.cs
- KeyInterop.cs
- ClientUrlResolverWrapper.cs
- TreeWalkHelper.cs
- X509ChainElement.cs
- SerializerDescriptor.cs
- RulePatternOps.cs
- StringBuilder.cs
- OlePropertyStructs.cs
- Merger.cs
- IPEndPoint.cs
- SoapEnvelopeProcessingElement.cs
- EventHandlerService.cs
- PropertyCondition.cs
- Drawing.cs
- Compiler.cs
- TablePatternIdentifiers.cs
- ActiveXSite.cs
- SqlGenericUtil.cs
- ConfigurationManager.cs
- RemotingServices.cs
- CodeDomConfigurationHandler.cs
- PrincipalPermission.cs
- Axis.cs
- PropertyRef.cs
- Point.cs
- RequiredFieldValidator.cs
- SyndicationLink.cs
- ConfigsHelper.cs
- DataStorage.cs
- RemoteX509AsymmetricSecurityKey.cs
- WebReferencesBuildProvider.cs
- ThreadAbortException.cs
- XPathException.cs
- SessionStateContainer.cs
- GlobalizationSection.cs
- PeerInputChannel.cs
- RoutedEvent.cs
- NumberFunctions.cs
- PEFileEvidenceFactory.cs
- FixedBufferAttribute.cs
- DataSvcMapFile.cs
- GlyphingCache.cs
- SynchronousChannel.cs
- FixedSOMElement.cs
- TypeInfo.cs
- PtsContext.cs