Partage via


LayoutExceptionEventArgs(Exception) Constructeur

Définition

Initialise une nouvelle instance de la classe LayoutExceptionEventArgs.

public:
 LayoutExceptionEventArgs(Exception ^ exception);
public LayoutExceptionEventArgs (Exception exception);
new System.Windows.Forms.Integration.LayoutExceptionEventArgs : Exception -> System.Windows.Forms.Integration.LayoutExceptionEventArgs
Public Sub New (exception As Exception)

Paramètres

exception
Exception

Exception à lever.

Exceptions

exception a la valeur null.

Remarques

Dans votre gestionnaire d’événements, définissez la valeur de la ThrowException propriété pour true indiquer que l’exception doit être levée.

S’applique à

Voir aussi