RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Exception.CreateHelp Constructor

Creates an instance of an exception with a simple message string and a help- context ID.

Pascal
constructor CreateHelp(const Msg: string; AHelpContext: Integer);
C++
__fastcall Exception(const AnsiString Msg, int AHelpContext);

Call CreateHelp to construct an exception with a simple message string and a help-context ID. Msg is the string containing the runtime error message to display in the exception dialog box. Msg can be a hard-coded string, or can be a function call that returns a string. 

AHelpContext is an integer that specifies the context-sensitive help ID for the exception. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!