共用方式為


BaseDataBoundControlDesigner.GetErrorDesignTimeHtml(Exception) 方法

定義

當錯誤發生時,提供在設計階段用來呈現控制項的標記。

protected:
 override System::String ^ GetErrorDesignTimeHtml(Exception ^ e);
protected override string GetErrorDesignTimeHtml (Exception e);
override this.GetErrorDesignTimeHtml : Exception -> string
Protected Overrides Function GetErrorDesignTimeHtml (e As Exception) As String

參數

e
Exception

擲回的是 Exception

傳回

當錯誤發生時,在設計階段用來呈現控制項的標記。

備註

錯誤設計階段控制項會轉譯為預留位置,其中包含類型名稱、控制項名稱,以及描述錯誤的訊息。

適用於

另請參閱