BuildAbortedException.ErrorCode 屬性

定義

取得與例外狀況訊息關聯的錯誤碼 (如果有的話)。Gets the error code (if any) associated with the exception message.

public:
 property System::String ^ ErrorCode { System::String ^ get(); };
public string ErrorCode { get; }
member this.ErrorCode : string
Public ReadOnly Property ErrorCode As String

屬性值

錯誤碼為字串, 如果沒有錯誤碼存在, 則為 null 字串。The error code as a string, or a null string if no error code exists.

適用於