Partager via


EventSource.ConstructionException Propriété

Définition

Obtient toute exception levée pendant la construction de la source d’événement.

public:
 property Exception ^ ConstructionException { Exception ^ get(); };
public Exception ConstructionException { get; }
public Exception? ConstructionException { get; }
member this.ConstructionException : Exception
Public ReadOnly Property ConstructionException As Exception

Valeur de propriété

Exception levée pendant la construction de la source d’événement ou null si aucune exception n’a été levée.

Remarques

EventSource les constructeurs ne lèvent pas d’exceptions. Au lieu de cela, toute exception levée est affectée à la ConstructionException propriété et journalisée par la Trace.WriteLine méthode.

S’applique à