FrameworkException.GetBaseException Method

Returns the initial exception responsible for a chain of exceptions.

 public virtual Exception GetBaseException();

Return Value

The first exception in the chain.

Remarks

If the current exception in not part of an exception chain and its InnerException property was not set, the GetBaseException property will return a reference to the current exception.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom.Connector.V2

Assembly: MomConnectorFrameworkV2 (in MomConnectorFrameworkV2.dll)

See Also

FrameworkException Class | FrameworkException Members