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 標籤,以顯示包含類型名稱、控制項名稱,以及一或多個描述錯誤的訊息的預留位置。