共用方式為


ExceptionMessageBox.MessageLevelDefault Property

Definition

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

public:
 property int MessageLevelDefault { int get(); void set(int value); };
public int MessageLevelDefault { get; set; }
member this.MessageLevelDefault : int with get, set
Public Property MessageLevelDefault As Integer

Property Value

An Int32 value.

Remarks

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.

Applies to