EventSource.ConstructionException Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.