This topic has not yet been rated - Rate this topic

ExceptionMessageBox.MessageLevelDefault Property

Gets or sets the number of message levels to display in the message box.

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

public int MessageLevelDefault { get; set; }

Property Value

Type: System.Int32
An Int32 value.

The minimum number of message levels that can be displayed on the exception message box is one, and the maximum number is five. Additional message levels are available by clicking the Advanced Information button on the exception message box.

The default value is 5.

A message level is defined as the top-level message and each Exception object in the exception hierarchy starting from InnerException.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ