Megosztás a következőn keresztül:


CallbackWithStateAndArgs Delegate

Definition

Delegates that defines a call back with two parameters; state and ElapsedEventArgs. It will be used in System.Timers.Timer scenarios.

public delegate void CallbackWithStateAndArgs(System::Object ^ state, ElapsedEventArgs ^ args);
public delegate void CallbackWithStateAndArgs(object state, ElapsedEventArgs args);
type CallbackWithStateAndArgs = delegate of obj * ElapsedEventArgs -> unit
Public Delegate Sub CallbackWithStateAndArgs(state As Object, args As ElapsedEventArgs)

Parameters

state
Object

Applies to