System.SysUtils.Exception.CreateHelp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor CreateHelp(const Msg: string; AHelpContext: Integer);

Properties

Type Visibility Source Unit Parent
constructor public System.SysUtils.pas System.SysUtils Exception

Description

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

Call CreateHelp to construct an exception with a simple message string and a help-context ID. Msg is the string containing the run-time 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.

See Also