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
- HWStack.cs
- SerTrace.cs
- AppDomain.cs
- SafeSecurityHandles.cs
- EffectiveValueEntry.cs
- XomlCompilerResults.cs
- WindowsSecurityToken.cs
- ExpressionPrefixAttribute.cs
- EventDriven.cs
- UnsafeNativeMethods.cs
- FontResourceCache.cs
- TextEditorThreadLocalStore.cs
- RegexRunner.cs
- WebRequestModulesSection.cs
- CultureData.cs
- AppliedDeviceFiltersDialog.cs
- URLString.cs
- PinnedBufferMemoryStream.cs
- TraceHelpers.cs
- DataSourceXmlSubItemAttribute.cs
- ReturnType.cs
- SimpleBitVector32.cs
- StrokeDescriptor.cs
- rsa.cs
- Convert.cs
- HtmlTableCell.cs
- MeasurementDCInfo.cs
- TriggerBase.cs
- XmlNavigatorStack.cs
- FunctionDetailsReader.cs
- BitVector32.cs
- InternalControlCollection.cs
- DockingAttribute.cs
- DataControlFieldHeaderCell.cs
- DocumentApplicationJournalEntry.cs
- LinqDataSourceDeleteEventArgs.cs
- CodeValidator.cs
- ExceptionHelpers.cs
- ComponentManagerBroker.cs
- HtmlDocument.cs
- GridItem.cs
- Rule.cs
- PermissionSetTriple.cs
- brushes.cs
- StringArrayConverter.cs
- MemberRestriction.cs
- DataPointer.cs
- Privilege.cs
- WebPartsSection.cs
- MsmqOutputMessage.cs
- PrefixQName.cs
- Polygon.cs
- CollectionBuilder.cs
- HttpCookieCollection.cs
- dbdatarecord.cs
- Stroke2.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- MobileUserControl.cs
- BlurEffect.cs
- AvTraceFormat.cs
- ScriptingWebServicesSectionGroup.cs
- BmpBitmapEncoder.cs
- RowType.cs
- ImageFormatConverter.cs
- PageThemeParser.cs
- BoundPropertyEntry.cs
- SqlCaseSimplifier.cs
- SqlRowUpdatingEvent.cs
- EntityKey.cs
- DisableDpiAwarenessAttribute.cs
- LinqDataSourceDisposeEventArgs.cs
- Button.cs
- AccessibleObject.cs
- OdbcStatementHandle.cs
- AssemblyAttributes.cs
- SeverityFilter.cs
- WindowsEditBox.cs
- AsymmetricSignatureFormatter.cs
- ListViewUpdateEventArgs.cs
- NotifyParentPropertyAttribute.cs
- ReadonlyMessageFilter.cs
- ToolTipService.cs
- AssemblyAttributesGoHere.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SubpageParagraph.cs
- FamilyTypefaceCollection.cs
- WindowsContainer.cs
- CriticalFinalizerObject.cs
- DocumentEventArgs.cs
- PeerCustomResolverBindingElement.cs
- ModuleConfigurationInfo.cs
- MaterialCollection.cs
- BufferModeSettings.cs
- ExtenderControl.cs
- UniqueEventHelper.cs
- TripleDES.cs
- HtmlTextArea.cs
- TreeChangeInfo.cs
- QueryCursorEventArgs.cs
- InstanceStoreQueryResult.cs