Share via


GarbageCollectedTimer.Change Method (Int32, Int32)

 

Change the limit and interval of the timer.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

public void Change(
    int dueTime,
    int period
)
public:
void Change(
    int dueTime,
    int period
)
Public Sub Change (
    dueTime As Integer,
    period As Integer
)

Parameters

  • dueTime
    Type: System.Int32

    The length of time to delay before invoking the callback specified when the GarbageCollectedTimer object was created. Specify zero to invoke the callback and restart the timer immediately.

  • period
    Type: System.Int32

    The interval between invocations of the callback specified when the GarbageCollectedTimer object was created. Specify Infinite to disable periodic signaling.

See Also

Change Overload
GarbageCollectedTimer Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top