EndSession Example (Visual C++)

   Applies To

This example shows what a call to EndSession looks like. Refer to ISystemDebugEventFire Example (Visual C++) to see the object creation code and to see this code in a form you can run with minor modifications.

// End the session when you are finished generating events.
void SampleEndSession()
{
   pIEC->EndSession();
}