[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/Threading ThreadExceptionEven
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/Threading ThreadExceptionEventArgs.cs,NONE,1.1 ThreadExceptionEventHandler.cs,NONE,1.1 |
Date: |
Wed, 02 Apr 2003 00:13:25 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/Threading
In directory subversions:/tmp/cvs-serv19708/System/Threading
Added Files:
ThreadExceptionEventArgs.cs ThreadExceptionEventHandler.cs
Log Message:
Add two "System.Threading" classes that live in the "System" assembly.
--- NEW FILE ---
/*
* ThreadExceptionEventArgs.cs - Implementation of the
* "System.Threading.ThreadExceptionEventArgs" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Threading
{
#if !ECMA_COMPAT
public class ThreadExceptionEventArgs : EventArgs
{
// Internal state.
private Exception exception;
// Constructor.
public ThreadExceptionEventArgs(Exception t)
{
exception = t;
}
// Get the exception value within this object.
public Exception Exception
{
get
{
return exception;
}
}
}; // class ThreadExceptionEventArgs
#endif // !ECMA_COMPAT
}; // namespace System.Threading
--- NEW FILE ---
/*
* ThreadExceptionEventHandler.cs - Implementation of the
* "System.Threading.ThreadExceptionEventHandler" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Threading
{
#if !ECMA_COMPAT
[Serializable]
public delegate void ThreadExceptionEventHandler
(Object sender, ThreadExceptionEventArgs e);
#endif // !ECMA_COMPAT
}; // namespace System.Threading
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/Threading ThreadExceptionEventArgs.cs,NONE,1.1 ThreadExceptionEventHandler.cs,NONE,1.1,
Rhys Weatherley <address@hidden> <=