BuildAbortedException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class BuildAbortedException : Exception
[System.Serializable]
public class BuildAbortedException : Exception
[<System.Serializable>]
type BuildAbortedException = class
inherit Exception
Public Class BuildAbortedException
Inherits Exception
- Inheritance
-
BuildAbortedException
- Attributes
Remarks
This is public because it may be returned in the Exceptions collection of a BuildResult. If you add fields to this class, add a custom serialization constructor and override GetObjectData().
Constructors
| BuildAbortedException() |
Constructs a standard BuildAbortedException. |
| BuildAbortedException(SerializationInfo, StreamingContext) |
Protected constructor used for (de)serialization. If we ever add new members to this class, we'll need to update this. |
| BuildAbortedException(String) |
Constructs a BuildAbortedException with an additional message attached. |
| BuildAbortedException(String, Exception) |
Constructs a BuildAbortedException with an additional message attached and an inner exception. |
Properties
| ErrorCode |
Gets the error code (if any) associated with the exception message. |
Methods
| GetObjectData(SerializationInfo, StreamingContext) |
ISerializable method which we must override since Exception implements this interface If we ever add new members to this class, we'll need to update this. |