procedure UnRegisterXSClass(AClass: TClass);
void __fastcall UnRegisterXSClass(System::TClass AClass);
Unregisters a remotable class.
Call UnRegisterXSClass to Unregister a remotable class that was previously registered by a call to the RegisterXSClass method. In Delphi, this call is made in the finalization section of the unit that implements the remotable class. In C++, it is made from a method that uses the pragma exit directive in the unit that implements the remotable class.
AClass is the class reference for the remotable class. In Delphi code, you specify this using the class name. In C++, you can obtain this class reference for a class using the __classid keyword.