RAD Studio VCL Reference
|
Registers the remotable exception classes that calls to an invokable interface can raise.
procedure RegisterException(Info: PTypeInfo; AClass: TClass);
__fastcall RegisterException(PTypeInfo Info, TClass AClass);
Use RegisterException to register a remotable exception class. When an exception class is registered, its definition is exported to WSDL documents so that it can be used to communicate exception information between clients and servers.
Info points to the type information of the invokable interface that can raise the exception. If more than one interface can raise the exception, you must call this method once for each interface type.
AClass describes the exception class. This must be the class reference for an ERemotableException descendant.
Creating Custom Exception Classes for Web Services
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|