RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.UnRegisterXSClass Method

Unregisters a remotable class.

Pascal
procedure UnRegisterXSClass(AClass: TClass);
C++
__fastcall UnRegisterXSClass(TClass AClass);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!