- 3
- 0
- 约3.63千字
- 约 5页
- 2017-09-05 发布于河南
- 举报
net错误处理机制(.net error handling mechanism)
net错误处理机制(.net error handling mechanism)
A provides 4 error mechanism: Page_Error event ErrorPage attribute Application_Error event customErrors configuration
The Page_Error event
The Page_Error event provides a capture at the page level error method. You can only display the error message (as shown in the example code below), you can also record the events or perform some other operation.
Private void Page_Load (object sender, System.EventArgs E)
User code to {/ / Put initialize the page here
Throw new Exception (Page Error!);
}
Protected void Page_Error (object sender, EventArgs E)
{
Except
您可能关注的文档
- led技术指标(Led technical index).doc
- kx驱动几个基本插件简介(KX drive several basic plug-in profiles).doc
- led显示屏单元板pcb设计规则(LED display panel PCB design rules).doc
- led灯带灯条产品知识。(LED lights, strip products knowledge.).doc
- led灯电源的达标对策(Countermeasures of LED lamp power supply).doc
- led发光原理及特点(Principle and characteristics of LED luminescence).doc
- led电子屏控制原理(LED electronic screen control principle).doc
- led的基本知识(Basic knowledge of LED).doc
- led车铝和压铸铝(LED aluminum and die cast aluminum).doc
- led术语(Led terminology).doc
原创力文档

文档评论(0)