ULSClientConfig.Render 方法
重写页面的呈现和 ULS 脚本对象注入呈现页上,如果已启用客户端脚本错误报告。
命名空间: Microsoft.SharePoint.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Protected Overrides Sub Render ( _
output As HtmlTextWriter _
)
用法
Dim output As HtmlTextWriter
Me.Render(output)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
protected override void Render(
HtmlTextWriter output
)
参数
output
类型:System.Web.UI.HtmlTextWriterHTML 字符串中嵌入的 ULS 脚本对象的引用。