Compartir a través de


ExceptionMessageBox.MessageLevelDefault Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.MessageBox
Ensamblado:  Microsoft.ExceptionMessageBox (en Microsoft.ExceptionMessageBox.dll)

Sintaxis

'Declaración
Public Property MessageLevelDefault As Integer 
    Get 
    Set
'Uso
Dim instance As ExceptionMessageBox 
Dim value As Integer 

value = instance.MessageLevelDefault

instance.MessageLevelDefault = value
public int MessageLevelDefault { get; set; }
public:
property int MessageLevelDefault {
    int get ();
    void set (int value);
}
member MessageLevelDefault : int with get, set
function get MessageLevelDefault () : int 
function set MessageLevelDefault (value : int)

Valor de la propiedad

Tipo: System.Int32
An Int32 value.

Comentarios

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.

Vea también

Referencia

ExceptionMessageBox Clase

Espacio de nombres Microsoft.SqlServer.MessageBox