AggregateException.GetBaseException Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Exception Returnerar det som är rotorsaken till det här undantaget. Det här undantaget är antingen rotund undantaget eller det första AggregateException som innehåller antingen flera inre undantag eller inga inre undantag alls.
public:
override Exception ^ GetBaseException();
public override Exception GetBaseException();
override this.GetBaseException : unit -> Exception
Public Overrides Function GetBaseException () As Exception
Returer
Det Exception är rotorsaken till det här undantaget.
Kommentarer
Det här är antingen rotund undantaget eller det första AggregateException som innehåller antingen flera inre undantag eller inga inre undantag alls.