AggregateException.GetBaseException Méthode

Définition

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.

S’applique à