BuildAbortedException Constructors

Definition

Creates a BuildAborted exception.

Overloads

BuildAbortedException()

Constructs a standard BuildAbortedException.

BuildAbortedException(String)

Constructs a BuildAbortedException with an additional message attached.

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, Exception)

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

BuildAbortedException()

Constructs a standard BuildAbortedException.

public:
 BuildAbortedException();
public BuildAbortedException ();
Public Sub New ()

Applies to

BuildAbortedException(String)

Constructs a BuildAbortedException with an additional message attached.

public:
 BuildAbortedException(System::String ^ message);
public BuildAbortedException (string message);
new Microsoft.Build.Exceptions.BuildAbortedException : string -> Microsoft.Build.Exceptions.BuildAbortedException
Public Sub New (message As String)

Parameters

message
String

The error message.

Applies to

BuildAbortedException(SerializationInfo, StreamingContext)

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

protected:
 BuildAbortedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected BuildAbortedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Build.Exceptions.BuildAbortedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Build.Exceptions.BuildAbortedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The error information.

context
StreamingContext

The error context.

Applies to

BuildAbortedException(String, Exception)

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

public:
 BuildAbortedException(System::String ^ message, Exception ^ innerException);
public BuildAbortedException (string message, Exception innerException);
new Microsoft.Build.Exceptions.BuildAbortedException : string * Exception -> Microsoft.Build.Exceptions.BuildAbortedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message.

innerException
Exception

The inner exception.

Applies to