BuildAbortedException 建構函式

定義

建立 BuildAborted 例外狀況。Creates a BuildAborted exception.

多載

BuildAbortedException()

建立 BuildAborted 例外狀況。Creates a BuildAborted exception.

BuildAbortedException(String)

建立 BuildAborted 例外狀況。Creates a BuildAborted exception.

BuildAbortedException(SerializationInfo, StreamingContext)

用於序列化/還原序列化的受保護建構函式。Protected constructor used for (de)serialization.

BuildAbortedException(String, Exception)

建構已附加其他訊息和內部例外狀況的 BuildAbortedException。Constructs a BuildAbortedException with an additional message attached and an inner exception.

BuildAbortedException()

建立 BuildAborted 例外狀況。Creates a BuildAborted exception.

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

BuildAbortedException(String)

建立 BuildAborted 例外狀況。Creates a BuildAborted exception.

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)

參數

message
String

錯誤訊息。The error message.

BuildAbortedException(SerializationInfo, StreamingContext)

用於序列化/還原序列化的受保護建構函式。Protected constructor used for (de)serialization.

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)

參數

info
SerializationInfo

錯誤資訊。The error information.

context
StreamingContext

錯誤內容。The error context.

BuildAbortedException(String, Exception)

建構已附加其他訊息和內部例外狀況的 BuildAbortedException。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)

參數

message
String

錯誤訊息。The error message.

innerException
Exception

內部例外狀況。The inner exception.

適用於