Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / TimerElapsedEvenArgs.cs / 1305376 / TimerElapsedEvenArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace Microsoft.Win32 { using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Permissions; ////// [HostProtectionAttribute(MayLeakOnAbort = true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class TimerElapsedEventArgs : EventArgs { private readonly IntPtr timerId; ///Provides data for the ///event. /// public TimerElapsedEventArgs(IntPtr timerId) { this.timerId = timerId; } ///Initializes a new instance of the ///class. /// public IntPtr TimerId { get { return this.timerId; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the ID number for the timer. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace Microsoft.Win32 { using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Permissions; ////// [HostProtectionAttribute(MayLeakOnAbort = true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class TimerElapsedEventArgs : EventArgs { private readonly IntPtr timerId; ///Provides data for the ///event. /// public TimerElapsedEventArgs(IntPtr timerId) { this.timerId = timerId; } ///Initializes a new instance of the ///class. /// public IntPtr TimerId { get { return this.timerId; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the ID number for the timer. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChannelAcceptor.cs
- ComponentCodeDomSerializer.cs
- MemoryRecordBuffer.cs
- Label.cs
- Ipv6Element.cs
- MediaElement.cs
- BitmapEffectGroup.cs
- UnmanagedBitmapWrapper.cs
- MenuAdapter.cs
- TextServicesContext.cs
- EDesignUtil.cs
- AmbientLight.cs
- querybuilder.cs
- WebBrowserUriTypeConverter.cs
- RemotingConfigParser.cs
- XmlText.cs
- GeneralTransform3DGroup.cs
- LogRestartAreaEnumerator.cs
- AppDomainAttributes.cs
- DebugController.cs
- KnownBoxes.cs
- ProviderIncompatibleException.cs
- DataControlPagerLinkButton.cs
- EventManager.cs
- HttpMethodConstraint.cs
- CharKeyFrameCollection.cs
- ColumnResult.cs
- StickyNoteHelper.cs
- Wizard.cs
- WebBrowserBase.cs
- DataGridView.cs
- SimpleHandlerBuildProvider.cs
- TableLayoutPanel.cs
- ClientSettingsProvider.cs
- SatelliteContractVersionAttribute.cs
- CollectionBase.cs
- ReliabilityContractAttribute.cs
- CalendarDay.cs
- SubpageParaClient.cs
- ResourceAssociationSet.cs
- Catch.cs
- DataGridViewCellCancelEventArgs.cs
- WorkingDirectoryEditor.cs
- SqlMethodTransformer.cs
- FrameworkTemplate.cs
- DragEventArgs.cs
- ToolStrip.cs
- EqualityComparer.cs
- HiddenFieldPageStatePersister.cs
- MethodToken.cs
- RuntimeArgumentHandle.cs
- DetailsViewInsertedEventArgs.cs
- SortKey.cs
- TdsRecordBufferSetter.cs
- CodeRegionDirective.cs
- WinFormsUtils.cs
- SignerInfo.cs
- ProxyWebPartManagerDesigner.cs
- ClientSettingsSection.cs
- RedirectionProxy.cs
- StorageInfo.cs
- BufferAllocator.cs
- TableItemStyle.cs
- BindingWorker.cs
- RawStylusSystemGestureInputReport.cs
- CellCreator.cs
- ConfigurationValues.cs
- CqlLexer.cs
- TextSchema.cs
- GetKeyedHashRequest.cs
- ObjectTypeMapping.cs
- LocatorPart.cs
- CommandLibraryHelper.cs
- UInt64Converter.cs
- SymLanguageVendor.cs
- CompositeActivityTypeDescriptor.cs
- KeyEventArgs.cs
- CodeTypeConstructor.cs
- MembershipPasswordException.cs
- QilSortKey.cs
- NamedElement.cs
- ListBox.cs
- ColumnResult.cs
- SplitterCancelEvent.cs
- HtmlTable.cs
- UserInitiatedNavigationPermission.cs
- SafeLibraryHandle.cs
- MenuItemStyleCollection.cs
- DataConnectionHelper.cs
- NegationPusher.cs
- BackStopAuthenticationModule.cs
- ToolStripDropDownMenu.cs
- DispatchChannelSink.cs
- SoapEnumAttribute.cs
- VerticalAlignConverter.cs
- __ComObject.cs
- TraceSection.cs
- ExceptionHandler.cs
- RotateTransform.cs
- SnapshotChangeTrackingStrategy.cs