.

MpxUtil.AssertHandler


Overview

AssertHandler handles MPX library assertions, providing the user with the ability to log assertions to a file and/or notify the user via a dialog box.

 

The following dialog box and log file was created by AssertHandler after Mpx.Test.AssertTest was called.

Assertion Dialog Box – Typically used during application development.

Assertion Log File – Typically used after application deployment.

Assertions represent internal MPX library design errors. Please refer to MPX Error Handling Overview for more information about MPX assertions.

 

Properties

Property Data Type Description

GenerateDialogBox

Boolean

Sets whether to show a dialog box when an MPX assertion occurs.

True = Dialog boxes are generated

False = Dialog boxes are not generated

LogFilename

String

The filename where assertion information is written. If the file does not exist, then the file will be created after an assertion occurs.

If LogFilename is an empty string, then no log file will be created.

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2008 Motion Engineering