RecognizerContext.Finalize Method
Frees the resources of the current RecognizerContext object before it is reclaimed by the garbage collector.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Protected Overrides Sub Finalize
'Usage
Me.Finalize
~RecognizerContext()
!RecognizerContext ()
protected void finalize ()
protected override function Finalize ()
Not applicable.
Remarks
[C#] In C#, finalizers are expressed by using destructor syntax.
[Managed C++] In Managed C++, finalizers are expressed by using destructor syntax.
Note
to Inheritors When overriding the Finalize method in a derived class, call the Finalize method of the base class so that the object's resources are properly released.
This method overrides the Finalize method. Application code should not call this method; a RecognizerContext object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the SuppressFinalize method. For more information, see Finalize Methods and Destructors, Cleaning Up Unmanaged Resources, and Overriding the Finalize Method, in the Microsoft® .NET Framework software development kit (SDK).
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
RecognizerContext Class
RecognizerContext Members
Microsoft.Ink Namespace