SetHistoryViewLevel (set error history viewing mode) 

Top  Previous  Next

 

SetHistoryViewLevel( errorlevel )

SetHistoryViewLevel

Specifies the error level to trigger error history.

Errorlevel

An integer constant, variable, EQUATE, or expression that sets the current error level of error history.

SetHistoryViewLevel sets the value of the ErrorClass HistoryViewLevel private property.

The errorlevel value sets the error level for viewing error history. The errorlevel value is only valid if the HistoryThreshold property is set to any value other than 0. Valid errorlevels are as follows:

 

Level:Benign

no action, returns Level:Benign

Level:User

displays message, returns Level:Benign or Level:Cancel

Level:Notify

displays message, returns Level:Benign

Level:Fatal

displays message, halts the program

Level:Program

treated as Level:Fatal

Level:Cancel

used to confirm no action taken by User

Activating this property will pop up a list box of error messages when the designated error level is posted.

 

See Also: GetHistoryViewLevel