
AppDomain.CurrentDomain.UnhandledException +=

{
try

{
using (System.IO.FileStream fs =

{
using (System.IO.StreamWriter w =

{



catch

{



{
~TestRaiseException()

{
int i =
int j =


static

{
try

{
using (System.IO.FileStream fs =
{
using (System.IO.StreamWriter w =
{




catch

{


static

{
+=
=

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace WebMonitor

{
/**////
/// Summary description for UnhandledExceptionModule
///

{
static
static
public UnhandledExceptionModule()

{
//
// TODO: Add constructor logic here
//
}

void OnUnhandledException(object o, UnhandledExceptionEventArgs e)

{
//Do some thing you wish to do when the Unhandled Exception raised.
try

{
using (System.IO.FileStream fs =
{
using (System.IO.StreamWriter w =
{




catch

{

IHttpModule Members#region IHttpModule Members
public

{
throw

public

{
// Do this one time for each AppDomain.

{
if (!_initialized)

{
+=
=



#endregion



<add name="UnhandledExceptionModule" type="WebMonitor.UnhandledExceptionModule"
</httpModules>
using System;



























| 欢迎光临 【3.A.S.T】网络安全爱好者 (http://www.3ast.com/) | Powered by Discuz! 7.2 |