LoginNameDesigner.GetErrorDesignTimeHtml(Exception) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供標記,用於在設計時錯誤發生時渲染相關控制。
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
參數
傳回
包含標記的字串,用於在錯誤發生後渲染設計時的相關標記 LoginName 。
備註
若嘗試顯示控制項的設計時視圖 LoginName 發生錯誤,此方法會回傳 HTML 標記,顯示包含型別名稱、控制名稱及一個或多個錯誤訊息的佔位符。