DVTk API
ActivityReportEventHandler Delegate
DVTkDvtk.EventsActivityReportEventHandler
DVTk API

[This is preliminary documentation and is subject to change.]

Represents the method that handles the ActivityReportEvent.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void ActivityReportEventHandler(
	Object sender,
	ActivityReportEventArgs e
)
Public Delegate Sub ActivityReportEventHandler ( _
	sender As Object, _
	e As ActivityReportEventArgs _
)
public delegate void ActivityReportEventHandler(
	Object^ sender, 
	ActivityReportEventArgs^ e
)
Parameters
sender (Object)
e (ActivityReportEventArgs)
Remarks
Users may register a callback to listen for this event.
Examples
CopyC#
class MyClass
{
    Dvtk.Sessions.Session ses;

    // Implement a callback handler with same argument syntax as this delegate declaration.
    private void OnActivityReportEvent(object sender, Dvtk.Events.ActivityReportEventArgs e)
    {
        ...
    }

    // Create handler instance.
    private Dvtk.Events.ActivityReportEventHandler myHandler 
        = new Dvtk.Events.ActivityReportEventHandler(this.OnActivityReportEvent);
    // Couple handler instance to event source.
    ses.ActivityReportEvent += myHandler;
}

Assembly: DVTK (Module: DVTK) Version: 0.0.0.0