AggregateException.GetBaseException Méthode
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.
Retourne la Exception cause racine de cette exception. Cette exception est l’exception racine ou la première AggregateException qui contient plusieurs exceptions internes ou aucune exception interne du tout.
public:
override Exception ^ GetBaseException();
public override Exception GetBaseException();
override this.GetBaseException : unit -> Exception
Public Overrides Function GetBaseException () As Exception
Retours
Cause Exception racine de cette exception.
Remarques
Il s’agit de l’exception racine, ou du premier AggregateException qui contient plusieurs exceptions internes ou aucune exception interne du tout.