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
- SuppressIldasmAttribute.cs
- XmlValueConverter.cs
- LinearGradientBrush.cs
- _LocalDataStore.cs
- IndexOutOfRangeException.cs
- InfoCardMetadataExchangeClient.cs
- AppDomainFactory.cs
- CheckBoxField.cs
- UrlPath.cs
- FormatterServices.cs
- ExceptionRoutedEventArgs.cs
- TypedTableBaseExtensions.cs
- GetPageCompletedEventArgs.cs
- SnapshotChangeTrackingStrategy.cs
- ToolStripSystemRenderer.cs
- SoapAttributeOverrides.cs
- FilterableAttribute.cs
- FileDialogCustomPlace.cs
- OleDbConnectionFactory.cs
- OleDbPropertySetGuid.cs
- XmlDocumentType.cs
- QilFactory.cs
- ToolStripDropDownButton.cs
- RadialGradientBrush.cs
- DataSourceSelectArguments.cs
- SchemaNames.cs
- MergeLocalizationDirectives.cs
- XmlExtensionFunction.cs
- SmtpNetworkElement.cs
- AppDomainManager.cs
- XamlReader.cs
- UICuesEvent.cs
- WebPartEditVerb.cs
- XPathBinder.cs
- Drawing.cs
- RegexCompiler.cs
- AssemblyInfo.cs
- TextAdaptor.cs
- LocalValueEnumerator.cs
- XsltCompileContext.cs
- SoapAttributeOverrides.cs
- Form.cs
- InvalidComObjectException.cs
- TimeSpanMinutesConverter.cs
- WebPartZoneCollection.cs
- httpstaticobjectscollection.cs
- WebPartTransformer.cs
- MetadataPropertyAttribute.cs
- CodeSubDirectoriesCollection.cs
- HostProtectionPermission.cs
- CardSpaceShim.cs
- NullReferenceException.cs
- parserscommon.cs
- FontWeights.cs
- SmiEventSink_Default.cs
- DropDownList.cs
- ExtractCollection.cs
- ImageConverter.cs
- RangeBaseAutomationPeer.cs
- documentation.cs
- ParameterCollection.cs
- HandleDictionary.cs
- Debug.cs
- FileUtil.cs
- AddToCollection.cs
- SqlDataSourceQueryConverter.cs
- rsa.cs
- VersionedStream.cs
- TypeValidationEventArgs.cs
- SqlHelper.cs
- SubMenuStyle.cs
- OraclePermissionAttribute.cs
- DataPagerFieldCollection.cs
- ContentElement.cs
- RenderCapability.cs
- DataRowExtensions.cs
- RawStylusInput.cs
- TabControlCancelEvent.cs
- LayoutTable.cs
- DigestTraceRecordHelper.cs
- IndentedWriter.cs
- HttpHeaderCollection.cs
- HighlightVisual.cs
- RuleAttributes.cs
- DrawingContextDrawingContextWalker.cs
- StringDictionaryCodeDomSerializer.cs
- UshortList2.cs
- HandlerWithFactory.cs
- Unit.cs
- BinHexDecoder.cs
- RSAPKCS1KeyExchangeFormatter.cs
- TypeToStringValueConverter.cs
- WaitHandle.cs
- AnimationClock.cs
- Baml2006KnownTypes.cs
- GridEntryCollection.cs
- TransformPatternIdentifiers.cs
- TypeLoader.cs
- FileUpload.cs
- TextEditorTables.cs