RecordStop Method

OpenText Functional Testing 2022 and later: Following the discontinuance of the Silverlight development framework, OpenText Functional Testing no longer supports the Silverlight Add-in by default.

If you need to use and extend the Silverlight Add-in, contact OpenText Support.

Called by the infrastructure at the end of the recording session to stop listening for events.

Remarks

If you add an Event handler using the the '+=' syntax, unsubscribe from all the events to which your process was listening.

For example:

SourceControl.Click += new EventHandler(this.OnClick);

Release it: 
public override void RecordStop()
{
    SourceControl.Click -= new EventHandler(this.OnClick);
}

Syntax

Visual Basic (Declaration)
Overridable Sub RecordStop() 
C#
virtual void RecordStop()