Aracılığıyla paylaş


BuildAbortedException Class

Definition

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
public ref class BuildAbortedException : Microsoft::Build::Framework::BuildException::BuildExceptionBase
[System.Serializable]
public class BuildAbortedException : Exception
[System.Serializable]
public class BuildAbortedException : Microsoft.Build.Framework.BuildException.BuildExceptionBase
[<System.Serializable>]
type BuildAbortedException = class
    inherit Exception
[<System.Serializable>]
type BuildAbortedException = class
    inherit BuildExceptionBase
Public Class BuildAbortedException
Inherits Exception
Public Class BuildAbortedException
Inherits BuildExceptionBase
Inheritance
BuildAbortedException
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)
Obsolete.

Protected constructor used for (de)serialization. If we ever add new members to this class, we'll need to update this.

BuildAbortedException(String, Exception)

Constructs a BuildAbortedException with an additional message attached and an inner exception.

BuildAbortedException(String)

Constructs a BuildAbortedException with an additional message attached.

Properties

ErrorCode

Gets the error code (if any) associated with the exception message.

StackTrace (Inherited from BuildExceptionBase)

Methods

FlushCustomState()
GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

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.

InitializeCustomState(IDictionary<String,String>)
ToString() (Inherited from BuildExceptionBase)

Applies to