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
- RightsManagementPermission.cs
- RuleEngine.cs
- InvokeProviderWrapper.cs
- ConfigXmlAttribute.cs
- TdsValueSetter.cs
- HWStack.cs
- MultidimensionalArrayItemReference.cs
- LostFocusEventManager.cs
- ListBoxItemWrapperAutomationPeer.cs
- DbMetaDataFactory.cs
- HwndSource.cs
- CurrencyWrapper.cs
- BufferModeSettings.cs
- ContentElement.cs
- PolyLineSegmentFigureLogic.cs
- AbstractDataSvcMapFileLoader.cs
- ColorTransform.cs
- ConfigsHelper.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- PieceNameHelper.cs
- LiteralControl.cs
- ProcessProtocolHandler.cs
- RefreshEventArgs.cs
- NullReferenceException.cs
- FormViewInsertedEventArgs.cs
- ExpandCollapsePattern.cs
- DbXmlEnabledProviderManifest.cs
- PackageFilter.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- InstancePersistenceException.cs
- VirtualPath.cs
- LabelInfo.cs
- BooleanConverter.cs
- DirectoryObjectSecurity.cs
- ObjectPersistData.cs
- DefinitionBase.cs
- IisTraceWebEventProvider.cs
- ValueUtilsSmi.cs
- TextDecorationUnitValidation.cs
- IISMapPath.cs
- RootBrowserWindow.cs
- ActivationArguments.cs
- WinFormsSecurity.cs
- VerticalAlignConverter.cs
- DesignerVerb.cs
- SmiEventSink.cs
- PerspectiveCamera.cs
- RadioButton.cs
- WizardPanelChangingEventArgs.cs
- SqlBulkCopyColumnMapping.cs
- Int16KeyFrameCollection.cs
- IndentedTextWriter.cs
- WpfPayload.cs
- CodeNamespaceCollection.cs
- ObjectStateFormatter.cs
- SEHException.cs
- Int32RectValueSerializer.cs
- IriParsingElement.cs
- RoleManagerModule.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- Assembly.cs
- GeometryModel3D.cs
- KeyboardEventArgs.cs
- StringFormat.cs
- EmbeddedMailObjectsCollection.cs
- GenericWebPart.cs
- OutputScopeManager.cs
- ButtonBase.cs
- TagPrefixAttribute.cs
- HttpRawResponse.cs
- PasswordDeriveBytes.cs
- CodeGeneratorOptions.cs
- StringExpressionSet.cs
- SystemIPGlobalStatistics.cs
- HwndStylusInputProvider.cs
- Message.cs
- UniqueIdentifierService.cs
- IntersectQueryOperator.cs
- TrackingStringDictionary.cs
- AccessorTable.cs
- MessagePartDescription.cs
- VisualBasicSettingsHandler.cs
- DispatchWrapper.cs
- Table.cs
- OutOfMemoryException.cs
- WindowsStatusBar.cs
- CodeTypeReference.cs
- FlatButtonAppearance.cs
- XmlSequenceWriter.cs
- GlobalizationSection.cs
- CodeTryCatchFinallyStatement.cs
- Application.cs
- counter.cs
- Win32MouseDevice.cs
- Tokenizer.cs
- DefaultEvaluationContext.cs
- OrderedEnumerableRowCollection.cs
- ObjectQueryProvider.cs
- SrgsElementFactory.cs
- CodeDelegateInvokeExpression.cs