AggregateException.GetBaseException Method

Definition

Returns the AggregateException that is the root cause of this exception.

public:
 override Exception ^ GetBaseException();
public override Exception GetBaseException ();
override this.GetBaseException : unit -> Exception
Public Overrides Function GetBaseException () As Exception

Returns

The AggregateException that is the root cause of this exception.

Applies to