Export (0) Print
Expand All

ITargetResult.Exception Property

.NET Framework 4.6 and 4.5

Gets the exception generated when the target was built.

Namespace:  Microsoft.Build.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Exception Exception { get; }

Property Value

Type: System.Exception
Returns the exception generated when the target was built. Return null if no exception occurred.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft