1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
<Type Name="TimerCallback" FullName="System.Threading.TimerCallback" FullNameSP="System_Threading_TimerCallback" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public sealed serializable TimerCallback extends System.Delegate" />
<TypeSignature Language="C#" Value="public delegate void TimerCallback(object state);" />
<MemberOfLibrary>BCL</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Docs>
<param name="state">A <see cref="T:System.Object" /> containing application-specific information relevant to the methods invoked by instances of this delegate, or <see langword="null" /> . </param>
<summary>
<para> Defines the shape of methods that are called by an instance of
the <see cref="T:System.Threading.Timer" /> class.
</para>
</summary>
<remarks>
<para>A <see langword="TimerCallback" /> delegate invokes its
methods once after the start time elapses, and continues invoking its methods
once per period until the <see cref="M:System.Threading.Timer.Dispose(System.Threading.WaitHandle)" qualify="true" /> method is called. <block subset="none" type="note">The start time for a <see cref="T:System.Threading.Timer" /> is passed in the <paramref name="dueTime" />
parameter of the <see langword=" Timer" /> constructors, and the period
is passed via the <paramref name="period" /> parameter. </block></para>
<para>
<block subset="none" type="note">For an example that
demonstrates creating and using a <see langword=" TimerCallback" />
delegate, see the <see cref="T:System.Threading.Timer" />
class.</block>
</para>
</remarks>
</Docs>
<Members />
<TypeExcluded>0</TypeExcluded>
<Parameters>
<Parameter Name="state" Type="System.Object" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
</Type>
|