Code:
/ DotNET / DotNET / 8.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
- FormViewPagerRow.cs
- Int32Storage.cs
- SqlConnectionFactory.cs
- ClientTarget.cs
- XhtmlBasicCommandAdapter.cs
- ellipse.cs
- X509Utils.cs
- NullableIntAverageAggregationOperator.cs
- Scene3D.cs
- FormViewUpdateEventArgs.cs
- ClientCultureInfo.cs
- SiteMapNodeCollection.cs
- RelationshipConverter.cs
- wgx_render.cs
- diagnosticsswitches.cs
- DesignerImageAdapter.cs
- TextSegment.cs
- DataKey.cs
- DelegateSerializationHolder.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- SoapSchemaImporter.cs
- VideoDrawing.cs
- DispatcherObject.cs
- TemplateKey.cs
- WebPartMinimizeVerb.cs
- FullTextBreakpoint.cs
- NumericUpDownAcceleration.cs
- InboundActivityHelper.cs
- IProvider.cs
- CounterCreationData.cs
- SolidColorBrush.cs
- XmlCDATASection.cs
- Query.cs
- OptimizedTemplateContent.cs
- PropertyEmitterBase.cs
- TypeProvider.cs
- SystemWebExtensionsSectionGroup.cs
- OutputCacheModule.cs
- Int16AnimationBase.cs
- EntityDataSourceWrapperCollection.cs
- DigestComparer.cs
- BitVector32.cs
- RestHandlerFactory.cs
- SqlCommand.cs
- DataObjectFieldAttribute.cs
- RangeBaseAutomationPeer.cs
- MsmqBindingElementBase.cs
- SQLDouble.cs
- PropertyPushdownHelper.cs
- StringUtil.cs
- WebPartDisplayModeCancelEventArgs.cs
- XmlEntityReference.cs
- PointAnimationUsingKeyFrames.cs
- UpdateManifestForBrowserApplication.cs
- CollectionChangeEventArgs.cs
- NonSerializedAttribute.cs
- SourceItem.cs
- ObjectView.cs
- RemotingConfigParser.cs
- SecurityDescriptor.cs
- TextDecorationCollection.cs
- SafeCoTaskMem.cs
- XmlChoiceIdentifierAttribute.cs
- HttpValueCollection.cs
- AnnouncementClient.cs
- ParentUndoUnit.cs
- GetParentChain.cs
- ListenerAdaptersInstallComponent.cs
- FixUp.cs
- Registry.cs
- Vector3DAnimationUsingKeyFrames.cs
- JulianCalendar.cs
- ReachSerializerAsync.cs
- XmlSchemaDatatype.cs
- OAVariantLib.cs
- XmlSerializationGeneratedCode.cs
- MetadataStore.cs
- PlatformNotSupportedException.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- KeyProperty.cs
- ISAPIWorkerRequest.cs
- SoapEnumAttribute.cs
- DispatcherEventArgs.cs
- CharUnicodeInfo.cs
- StringKeyFrameCollection.cs
- EnumConverter.cs
- GeneratedCodeAttribute.cs
- TargetControlTypeCache.cs
- XmlCharacterData.cs
- OdbcDataAdapter.cs
- CreateUserErrorEventArgs.cs
- ChtmlLinkAdapter.cs
- ParameterBinding.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- MasterPageParser.cs
- SHA384Managed.cs
- DefaultProxySection.cs
- mongolianshape.cs
- FragmentNavigationEventArgs.cs
- GroupStyle.cs