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
- BitmapScalingModeValidation.cs
- MimeMultiPart.cs
- Adorner.cs
- DbProviderConfigurationHandler.cs
- StringAnimationUsingKeyFrames.cs
- NativeMethods.cs
- CultureInfo.cs
- BooleanConverter.cs
- XpsS0ValidatingLoader.cs
- UTF8Encoding.cs
- ObjectViewEntityCollectionData.cs
- ToolStripSplitButton.cs
- Ref.cs
- TdsParameterSetter.cs
- ColorAnimationBase.cs
- ProfilePropertySettings.cs
- AutomationEvent.cs
- WebPartZone.cs
- TransformerInfo.cs
- Stacktrace.cs
- SemaphoreFullException.cs
- TerminatorSinks.cs
- MenuItemAutomationPeer.cs
- Debug.cs
- StaticSiteMapProvider.cs
- WebPartDeleteVerb.cs
- PixelFormats.cs
- HexParser.cs
- DeploymentSectionCache.cs
- CommentAction.cs
- VisualBrush.cs
- DatatypeImplementation.cs
- AddInControllerImpl.cs
- OleDbConnection.cs
- WebServiceTypeData.cs
- DragAssistanceManager.cs
- WorkflowInstanceQuery.cs
- HyperLink.cs
- ControlType.cs
- TreeNodeSelectionProcessor.cs
- ManipulationStartingEventArgs.cs
- _Semaphore.cs
- SynchronizedDispatch.cs
- ToggleButtonAutomationPeer.cs
- InternalConfigHost.cs
- MasterPageBuildProvider.cs
- IsolatedStorage.cs
- DesigntimeLicenseContext.cs
- ScrollViewer.cs
- datacache.cs
- HostingEnvironment.cs
- InvariantComparer.cs
- StrokeRenderer.cs
- ParserOptions.cs
- InplaceBitmapMetadataWriter.cs
- ButtonColumn.cs
- XmlReflectionMember.cs
- CompositeDesignerAccessibleObject.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SchemaSetCompiler.cs
- PublisherMembershipCondition.cs
- UriTemplatePathSegment.cs
- CodeExpressionCollection.cs
- SqlClientMetaDataCollectionNames.cs
- RightsManagementEncryptionTransform.cs
- RegexBoyerMoore.cs
- HMACSHA256.cs
- TcpAppDomainProtocolHandler.cs
- PathGradientBrush.cs
- WindowsRichEditRange.cs
- ListSortDescription.cs
- InfoCard.cs
- OleDbDataAdapter.cs
- SectionVisual.cs
- ExpandedWrapper.cs
- _BufferOffsetSize.cs
- ExcludePathInfo.cs
- ReadWriteSpinLock.cs
- DependencyPropertyHelper.cs
- DefaultEventAttribute.cs
- DataError.cs
- SqlMethodCallConverter.cs
- XamlGridLengthSerializer.cs
- CustomTypeDescriptor.cs
- DetailsViewPagerRow.cs
- Pkcs7Recipient.cs
- TextDecoration.cs
- EmptyEnumerator.cs
- Parsers.cs
- ClientRuntime.cs
- EventPropertyMap.cs
- ParseHttpDate.cs
- Processor.cs
- _NetworkingPerfCounters.cs
- NamespaceMapping.cs
- AutoResizedEvent.cs
- CacheModeValueSerializer.cs
- GlyphsSerializer.cs
- RuleProcessor.cs
- ContentType.cs