語言

LoginNameDesigner.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 被丟掉了。

傳回

包含標記的字串,用於在錯誤發生後渲染設計時的相關標記 LoginName 。

備註

若嘗試顯示控制項的設計時視圖 LoginName 發生錯誤,此方法會回傳 HTML 標記,顯示包含型別名稱、控制名稱及一個或多個錯誤訊息的佔位符。

適用於

另請參閱