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;
///
/// Provides data for the event.
///
[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;
///
/// Initializes a new instance of the class.
///
public TimerElapsedEventArgs(IntPtr timerId) {
this.timerId = timerId;
}
///
/// Gets the ID number for the timer.
///
public IntPtr TimerId {
get {
return this.timerId;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace Microsoft.Win32 {
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security.Permissions;
///
/// Provides data for the event.
///
[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;
///
/// Initializes a new instance of the class.
///
public TimerElapsedEventArgs(IntPtr timerId) {
this.timerId = timerId;
}
///
/// Gets the ID number for the timer.
///
public IntPtr TimerId {
get {
return this.timerId;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MD5HashHelper.cs
- DataSourceConverter.cs
- ResourceAttributes.cs
- precedingquery.cs
- TableLayoutSettingsTypeConverter.cs
- ContainerUIElement3D.cs
- DataPointer.cs
- ConfigurationLockCollection.cs
- TimeoutValidationAttribute.cs
- Columns.cs
- HwndSubclass.cs
- FileNotFoundException.cs
- StringValidatorAttribute.cs
- LicenseException.cs
- Privilege.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- KernelTypeValidation.cs
- XmlTypeMapping.cs
- SyndicationItemFormatter.cs
- FixedSOMSemanticBox.cs
- InertiaExpansionBehavior.cs
- ServerType.cs
- _CookieModule.cs
- XmlQueryTypeFactory.cs
- RawTextInputReport.cs
- SyntaxCheck.cs
- RuleRefElement.cs
- RegexFCD.cs
- CleanUpVirtualizedItemEventArgs.cs
- EventSourceCreationData.cs
- EtwTrackingParticipant.cs
- WebMessageEncoderFactory.cs
- AsyncPostBackTrigger.cs
- GridToolTip.cs
- AttachmentService.cs
- DocumentSequenceHighlightLayer.cs
- TakeOrSkipQueryOperator.cs
- AnimatedTypeHelpers.cs
- ExportOptions.cs
- IgnoreSectionHandler.cs
- HtmlImage.cs
- LayoutManager.cs
- CurrentChangingEventArgs.cs
- DataGridViewElement.cs
- CodeDirectoryCompiler.cs
- MemoryResponseElement.cs
- ConnectionsZone.cs
- AutomationProperties.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- TextBounds.cs
- Size3DValueSerializer.cs
- RequestCacheEntry.cs
- FilteredDataSetHelper.cs
- IndentedWriter.cs
- SimpleType.cs
- FileSystemWatcher.cs
- CodeConstructor.cs
- TraceInternal.cs
- OutgoingWebRequestContext.cs
- ClientRuntime.cs
- EventMappingSettingsCollection.cs
- VirtualPath.cs
- SqlBinder.cs
- TextWriterEngine.cs
- EventProxy.cs
- Native.cs
- _SecureChannel.cs
- Int64Converter.cs
- Ops.cs
- ListViewSortEventArgs.cs
- UriScheme.cs
- AdornerDecorator.cs
- WinFormsComponentEditor.cs
- Rule.cs
- _NegoState.cs
- ClientScriptManager.cs
- ClockController.cs
- FontNamesConverter.cs
- FullTextBreakpoint.cs
- BridgeDataRecord.cs
- ImageCollectionCodeDomSerializer.cs
- TableLayoutSettingsTypeConverter.cs
- HasCopySemanticsAttribute.cs
- RoleManagerEventArgs.cs
- StateRuntime.cs
- TypedTableBase.cs
- DispatcherFrame.cs
- Pen.cs
- HtmlElementCollection.cs
- ObjectStorage.cs
- XmlSchemaSequence.cs
- ArglessEventHandlerProxy.cs
- HttpCachePolicy.cs
- HttpCapabilitiesSectionHandler.cs
- XmlUtil.cs
- ItemsChangedEventArgs.cs
- DispatcherHookEventArgs.cs
- Button.cs
- SiteMapProvider.cs
- KnownIds.cs