BuildAbortedException Class
An exception representing the case where the build was aborted by request, as opposed to being unceremoniously shut down due to another kind of error exception.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Build.Exceptions.BuildAbortedException
Namespace: Microsoft.Build.Exceptions
Assembly: Microsoft.Build (in Microsoft.Build.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class BuildAbortedException _
Inherits Exception
[SerializableAttribute]
public class BuildAbortedException : Exception
[SerializableAttribute]
public ref class BuildAbortedException : public Exception
[<SerializableAttribute>]
type BuildAbortedException =
class
inherit Exception
end
public class BuildAbortedException extends Exception
The BuildAbortedException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BuildAbortedException() | Creates a BuildAborted exception.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
BuildAbortedException(String) | Creates a BuildAborted exception.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
BuildAbortedException(SerializationInfo, StreamingContext) | Protected constructor used for (de)serialization. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
BuildAbortedException(String, Exception) | Constructs a BuildAbortedException with an additional message attached and an inner exception.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
ErrorCode | Gets the error code (if any) associated with the exception message.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | ISerializable method which must be overridden because Exception implements this interface.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Events
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
Top
Remarks
If you add fields to this class, add a custom serialization constructor and override GetObjectData().
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.