AggregateException.GetBaseException Metod

Definition

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.

Gäller för